Learn how to install texlive with the command sudo apt-get install texlive on Ubuntus.
Ads
Quick installation of texlive:
Step 1: Update system:
sudo apt-get update
Step 2: Install: texlive
Ater updaing the OS run following command to install the packae:
sudo apt-get install texlive
Package Details | |
Package: | texlive |
Version: | 2009-15 |
Maintainer: | Ubuntu Developers |
Home page: | http://www.tug.org/texlive/ |
Description: | TeX Live: A decent selection of the TeX Live packages The TeX Live software distribution offers a complete TeX system. It encompasses programs for typesetting, previewing and printing of TeX documents in many different languages, and a large collection of TeX macros and font libraries. . This metapackage provides a decent selection of the TeX Live packages which should suffice for the most common tasks. . The distribution also includes extensive general documentation about TeX, as well as the documentation accompanying the included software packages. Homepage: http://www.tug.org/texlive/ |
Distro: | Ubuntu 12.04 LTS |
Release: | |
Repo/Section: | tex |
First of all update your system with the command:
sudo apt-get update
Ads
Above command will download the package lists for Ubuntu 12.04 LTS on your system. This will update the list of newest versions of packages and its dependencies on your system.
After downloading the latest package list with the help of above you can run the installation process.
If texlive is not installed on your compter then the command 'dpkg -L texlive' will give followin error.
deepak@deepak-VirtualBox:~$ dpkg -L texlive Package `texlive' is not installed. Use dpkg --info (= dpkg-deb --info) to examine archive files, and dpkg --contents (= dpkg-deb --contents) to list their contents. deepak@deepak-VirtualBox:~$
Installing texlive:
After system update use the following command to install texlive:
sudo apt-get install texlive
Above command will confirm before installing the package on your Ubuntu 12.04 LTS Operating System. If you are not already logged in as su, installer will ask you the root password. After completion of the installation you can use the package on your system.
Now we will see the commands for uninstalling the texlive from Ubuntu 12.04 LTS. For uninstalling this package you can easily use the apt command and remove the package from Linux Operating System.
To remove the texlive following command is used:
sudo apt-get remove texlive
Following command is used to remove the texlive package along with its dependencies:
sudo apt-get remove --auto-remove texlive
This will remove texlive and all its dependent packages which is no longer needed in the system.
Completely removing texlive with all configuration files:
Following command should be used with care as it deletes all the configuration files and data:
sudo apt-get purge texlive
or you can use following command also:
sudo apt-get purge --auto-remove texlive
Above command will remove all the configuration files and data associated with texlive package. You can can't recover the delete data, so, use this command with care.