How do you install a desktop environment such as KDE without an Internet connection in Ubuntu / Linux Mint?
I want to install KDE 4.8.3 in Ubuntu 12.04 LTS without an Internet connection?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
Direct links to alternate CD ISOs:
- Kubuntu 12.04 (KDE): 32-bit | 64-bit
- Lubuntu 12.04 (LXDE): 32-bit | 64-bit
- Xubuntu 12.04 (XFCE): 32-bit | 64-bit
The Alternate CD is required because it actually contains the deb packages needed to install these onto a running system with
apt-getversus the regular Desktop Live CDs which contain a compressed filesystem.
Once you download the Alternate CD ISO (32-bit or 64-bit, depending on your Ubuntu installation), burn it to a CD-R. Insert the CD into the target system.
Open a terminal with
Ctrl-Alt-T, and type
ls /media. You will see something in there like
Kubuntu 12.04 LTS i386.
sudo apt-cdrom add /media/Kubuntu (the first few letters), and press Tab to autocomplete the full name and press enter.
apt will scan the CD for packages.
sudo apt-get update, and then
sudo apt-get install kubuntu-desktop to install the full KDE desktop environment. (Or
lubuntu-desktop, respectively, for XFCE or LXDE).
If you have an internet connection on the machine, please disconnect the Ethernet cable (or disable networking/wireless), because even after you add the CD repositories,
apt-get may still try to fetch the latest packages over the internet if it detects a connection!