How to deal with locked down University Linux machines
A web page for dealing with super locked down laptops.
Installing software
Installing .rpm software without sudo
- Download .rpm file 
- Create a file structure 
mkdir -p ~/local/pkg
mkdir -p ~/local/src/<software name>
mkdir -p ~/local/bin
- Extract the .rpm 
cp Downloads/<software name>.rpm ~/local/pkg
cd ~/local/src/<software name>
rpm2cpio ~/local/pkg/<filename>.rpm | cpio -id
- Link libraries (if needed) 
- Find binary and link to ~/local/bin 
ln -sf ~local/src/<softwarename>/usr/bin ~/local/bin
- Add - ~/local/bin/to your path by pasting the following into your- .bashrc
for dir in "$HOME/local/bin"; do
  if [ -d "$dir" ]; then
    PATH="$dir:$PATH"
  fi
done
- reload ( - source .bashrc) your- .bashrcand run your application
- In order to run this from the applications menu you need to follow the steps below: - Go to settings –> search –> cog in right bottom corner –> Other –> Add the location of your bin folder 
- Change the name of your sym links to end in - .sh
- Open Files, cling on settings menu (top left) –> Preferences –> Behaviour –> Executable Text Files –> Run Them* 
- Now you can run your applications 
 
* Select this option at your own peril, no downloading untrusted random files and opening them!
Notes for specific software
- Slack works out the box this way, but certain workspaces need a further work around to log in see below 
- Google chrome requires you to link a bunch of libraires that should be found in - /lib64/or- /usr/lib64into- ~/local/src/chrome/opt/google/chrome/
please add to this any further tips