I am using the Ubuntu system and I want to install mplayer for my own use only. Can I install it without the superuser (root) rights?
You can download the package and extract all the files to your
$HOME directory, but you have to configure it yourself.
apt-get download mplayer2 dpkg --extract mplayer2*.deb $HOME ls -l $HOME/usr/bin/mplayer
So you have to set up your path to where
mplayer is located or if you already have
$HOME/bin, you can put it there.
To add the path:
echo 'export PATH=$HOME/usr/bin:$PATH' >> ~/.bashrc
yes it should be possible.
In theory, you can symlink the mplayer binary file to the
bin directory which would make it accessible throughout your user account.
- Download the zip file of mplayer, say,
- Launch a terminal window and run
cd $HOMEto change directory to
- Extract the zip file using
- Symlink the
ln -s $HOME/mplayer-20170705/mplayer $HOME/bin/
- Test mplayer using
mplayeron the terminal. The mplayer window should open.
Note: I highly recommend getting mpv player which is fork on mplayer and is updated regularly. You can find it in Github.