I migrated from MiKTeX on windows to TeXLive in ubuntu. At first I installed texlive-full from ubuntu repositories but I realized that I wanted to install more packages which isn't very convenient when there is no tlmgr.
So I decided to removeTeXLive and reinstall it from TUG. The installation had no problems. Then I added the following lines to bashrc
export PATH=$PATH:/usr/local/texlive/2014/bin/i386-linux
export PATH=$PATH:/usr/local/texlive/2014/tlpkg/
and then I run a simple document and it seemed to be working. I tried to install a package(i.e. units) through tlmgr but I don't have permission to write to a specific directory. What I did was to use sudo privilleges but again no luck. My effort is the following
thanos@thanos-laptop:~$ tlmgr install units
You don't have permission to change the installation in any way,
specifically, the directory /usr/local/texlive/2014/tlpkg/ is not writable.
Please run this program as administrator, or contact your local admin.
thanos@thanos-laptop:~$ sudo tlmgr install units
[sudo] password for thanos:
sudo: tlmgr: command not found
I also tried through the relevant tlmgr's gui but I get the same message as above.
What can I do to install packages through tlmgr?
sudo suand thentlmgr ....should work. But be careful with commands as root. – Sigur Jun 28 '14 at 14:39/usr/local/texlive/2014/tlpkg/toPATH. You should add/usr/local/texlive/2014/bin/i386-linuxat the beginning ofPATHrather than the end. – cfr Jun 28 '14 at 15:03