Ubuntu запустить ubuntu desktop

Обновлено: 04.07.2024

If you already have Ubuntu installed, it is easy to upgrade using the Update Manager. However, this is not always safe, and it will overwrite your old system.

If upgrading is not an option (you are running a different Linux distro than Ubuntu, or your system is several versions old), or you wish to keep your old system, you should use the live Ubuntu Desktop installer or Debootstrap.

The Ubuntu Desktop installer is usually run on a DVD or a bootable USB stick. However, if you already run Linux, using a DVD or USB is not necessary. You may run the Ubuntu Desktop installer directly from your hard drive, or use Debootstrap.

Note: These are advanced installation techniques and are not recommended for new users. If you are uncomfortable with the command line terminal, you should create a live Ubuntu Desktop DVD or USB.

Running the Ubuntu Desktop installer from your hard drive requires an extra partition. Debootstrap installs Ubuntu directly, without using the guiding Ubuntu Desktop installer. Debootstrap does not require a DVD, USB, Ubuntu Desktop ISO, or an extra installer partition.

The Ubuntu Desktop installer is distributed as a .iso file - get it here. If you don't want to download an ISO, use Debootstrap. If your ISO has "alternate" in its name, you are using an alternate installation image and should see the next section.

Note: You will need blank hard drive space to create new partitions. If your current system partition(s) take up all available space, you must create a live DVD or live USB.

Step 1, Partition

Create a new ext4 partition for the installer, using gparted. The partition must be a little larger than the install image (for example, if du -h disk-image.iso returns 1.1GB, make the partition 1.2GB). Remember the name of the new partition (for example, /dev/sda3).

Step 2, Copy

Copy Ubuntu Desktop installer contents over to the new partition using the commands

Replace disk-image.iso with the path to your disk image and /dev/sda3 with the new partition.

Step 3, Grub

Configure grub2. Edit the file /etc/grub.d/40_custom and add the lines

Replace Ver. with the version number and (hd0,3) with the new partition (for example, /dev/sda3 becomes (hd0,3) because Grub 2 counts drives from 0, but partitions from 1).

Then run update-grub to rebuild the grub configuration.

Step 4, Reboot

Reboot, and choose "installer" from the grub boot menu, and continue as if you were installing from CD. Be sure to set the root partition to another new partition, different from the installer; do not overwrite the whole drive.

Step 5, Grub (again)

The installer may not add an entry in Grub for the new version of Ubuntu. You will have to do this manually.

Older Versions of Ubuntu

Older verions of Ubuntu may use /casper/vmlinuz instead of /casper/vmlinuz.efi

For even older versions of Ubuntu with grub1, change the grub configuration file (typically /etc/grub.conf or /boot/grub/menu.lst) to boot from the new partition by adding the lines

The first line after the title tells grub which partition contains the installer. hd0 stands for "first hard disk," and the 0 following it standards for first partition. You will need to change this if your installer partition is different from /dev/sda1. sdaN becomes (hd0, N-1), sdbN becomes (hd1,N-1) and so on. As you can see, grub starts counting from 0, which can be confusing.

If you are trying to use Hard Disk installation with Ubuntu 9.10 chances are initrd.gz is renamed as initrd.lz now. So rename accordingly in menu.lst.

Note (old, for grub1) You do not need to modify the grub config of the existing linux system, if you feel uncomfortable modifying an otherwise fine running system. Instead, you may create a new menu.lst file on the new partition, preferably in directory /boot/grub/. Then, reboot, and when the (old) grub menu appears, press 'c' to get the grub command line. Then, type: configfile (hd0,1)/boot/grub/menu.lst to switch over to your new grub menu. Tip: use the tab-key halfway typing to have grub help you complete the command, or grub commands such as search or help.

Note2: Instead of using 'workaround', an alternative is to modify the file /etc/mtab by erasing the line that specifies the partition where the cdrom is mounted. This way the kernel thinks that the /cdrom is not mounted and will not show the advice when installing ubuntu. I think this procedure is less dangerous than the one in the previous note.

You can install Ubuntu directly from Linux using debootstrap. Debootstrap installs some essential packages in a directory for use with chroot. Note that the essential packages does not in itself make the system bootable. It just installs what you need to chroot to that directory and use apt-get to install other packages which make Ubuntu usable.

Step 1. First check that you have debootstrap installed.

(NOTE: if you want to install a newer release than your current system, you normally need to install the backported debootstrap version, see: UbuntuBackports)

Step 2. Partition device and make a filesystem.

We will assume /dev/sda is the storage device for your fresh install.

Remove former partitions and create the new one.

Make the filesystem

Step 3. Mount that new partition.

Step 4. Download and install base system packages.

Step 5. Copy files to the new install to keep your repositories

Step 6. Chroot to your new install.

Step 7. Locale and language settings To make dpkg run without warning you need to set this settings first

Step 8. Upgrade the new install. Install your local "language-pack-en-base".

If you are using Software RAID and/or LVM, you should install these packages before installing a kernel:

Step 9. Install Grub and Linux Kernel.

Step 10. Add user and/or set root password.

To add a user and set a password for that user.

You may also want to add your user to the sudo group so that user can run programs as root.

To set a root password:

(NOTE: You must at least set a root password if you aren't adding a user)

Step 11. Create fstab. A simple example of fstab is

It should now be safe to reboot; you may want the next few things.

Step 12. If you want to access it with ssh after reboot.

Use vi or install nano to edit /etc/hostname.

Remove any text in this file and add the hostname you would like.

Add these lines to /etc/network/interfaces. This will start eth0 at boot and request an IPv4 address with dhclient.

Next you need to install ssh

Your computer should be safe to reboot now. If you want the Ubuntu Gnome desktop, continue with Step 13.

Step 14. Install ubuntu-desktop.

Step 15. Reboot and keep those fingers crossed.

As of December 29th 2007, the instructions above do not apply to the alternate CD provided for Ubuntu 7.10 (Gutsy Gibbon). Significant changes are required. Procedure 1 below has been used successfully with Gutsy (Ubuntu 7.10) and Procedure 2 with Hardy (Ubuntu 8.04).

Before going any further please note that the alternate CD contains documentation which can help with fixing problems or adapting solutions to your own situation. The documentation is located in doc/install/manual/ on the alternate CD. Please refer to that documentation as needed.

Note that Procedure 2 is potentially less disruptive because it does not call for a new partition.

For a simpler installation method which generally does not require re-partitioning, and downloads the packages at install time rather than requiring an ISO, see Installation/NetbootInstallFromInternet.

Procedure 1

I used the following procedure for Gutsy. It can also be used for Hardy.

Step 1. Use gparted to create a new primary partition and format it to ext3. You need slightly more than 700MB of free space on it. 750MB should be sufficient. Let's say the name of the partition is /dev/sda1. If your new ubuntu install is going to coexist with your old system, you might find it convenient to create space for your new system as well at this point using gparted.

Step 2. Copy your alternate ISO to the root of the partition you created in step 1. You need to copy the ISO itself rather than the contents of the ISO.

Step 3. Grab the initrd.gz and vmlinuz files found in the following sub-directory of a Ubuntu mirror:

Put these files in your newly created partition. They can be in the root of the partition or in a sub-directory.

Step 4. Edit your grub configuration file (typically /etc/grub.conf or /boot/grub/menu.lst) to boot from the new partition by adding the lines:

If you use LILO, see the official documentation on the alternate CD for how to configure LILO. Or you can adapt the lines above for LILO if you know Grub and LILO well.

The first line after the title tells grub which partition contains the installer. hd0 stands for "first hard disk," and the 0 following it standards for first partition. You will need to change this if your installer partition is different from /dev/sda1. sdaN becomes (hd0, N-1), sdbN becomes (hd1,N-1) and so on. As you can see, grub starts counting from 0, which can be confusing. The paths for the kernel and the initrd were set to start with /install/ in my setup but you could put those files in the root of the install partition and have them be /vmlinuz and /initrd.gz if you so wish.

As specified in the above, the installer will run without a preseed file. The preseed tells the installer what kind of system you are trying to install and it automatically selects some options for you during installation. For instance, using the ubuntu.seed file tells the installer that you want to install a full "desktop" system, with Gnome and everything. If you do not select a preseed file, it is unclear what the installer thinks. In my (LouisDominiqueDubeau) experience, it installs some sort of CLI or server form of Ubuntu. This is not disastrous but it may not be what you want. In Hardy in particular, running the installer without a seed results in LILO installed as the boot loader rather than Grub. Ugly. So it is better to select a seed. Adding the parameter file=/cdrom/preseed/ubuntu.seed to the kernel line above should take care of the problem. If installing Kubuntu, select kubuntu.seed instead. Adapt to other situations as needed.

Step 5. Reboot, and choose "installer" from the grub boot menu, and continue as normal.

Procedure 2

In this procedure you do not create a new partition to hold the installer. This procedure was used for Hardy. It may be adaptable for Gutsy.

Step 1. Copy your alternate ISO to the root of any partition that the installer can mount. You need to copy the ISO itself rather than the contents of the ISO. The important part here is that you must find a partition that the installer can mount, as it will search during the install procedure. If you use the traditional partitioning system used by DOS since ages immemorial, then any filesystem supported by Ubuntu should work. In particular ext2/ext3/ntfs/fat/vfat should all work. If you use LVM, things are trickier. As of April 26th 2008, the installer is unable to find an ISO stored on a partition managed in LVM. The installer can install Ubuntu in an LVM partition but in the stage at which it looks for the ISO it has not yet loaded the LVM modules so it cannot find the ISO if it is on an LVM partition. An enterprising person should be able to work around that problem but by default the installer won't find the ISO if it is on an LVM partition. If you have Windows installed, then the Windows partition, which normally is not managed by LVM (because I don't think Windows supports LVM), can hold the ISO.

Step 2. Grab the initrd.gz and vmlinuz files found in the following subdirectory of a Ubuntu mirror:

You will want to put these files in your normal /boot/ directory. It may be a good idea to create a subdirectory like newinstall, hardy-install, or something similar.

If you want a preseed file, change the kernel line to:

Note that some users report working installs with grub without seeds and/or seeds not working with this method. Adapt as needed to your situation.

Step 4. Reboot, and choose "installer" from the grub boot menu, and continue the installation as normal.

I have a machine without a CD-ROM drive but with a network connection, and I struggled with these instructions for many days. Finally, I stumbled upon some straightforward solutions which appear to work for me.

1. Obtain Alternate CD. (This method may work for other CDs, I have not tried)

2. Mount at a temporary location, as described previously.

3. Copy vmlinuz and initrd.gz from mounted installation media to normal location on current linux root (the one to be replaced)

4. Unmount CDROM image.

5. Copy image as is to selected partition, i.e. cat "image" > /dev/hdXX

6. Configure grub or LILO as above

8. When choosing CD-ROM drive, choose manually, do not install a driver, for the device enter the partition to which you copied the image.

9. Continue installation as normal.

So far so good! I'll let you know if it breaks later :P

  • If you are having issues installing grub, and dpkg-reconfigure grub-pc does not give you a chance to select the device you want to install grub to, make sure you have mounted /dev in your chroot. Review step 6.

Installation/FromLinux (последним исправлял пользователь jamiesonc 2020-06-23 22:49:53)

The material on this wiki is available under a free license, see Copyright / License for details
You can contribute to this wiki, see Wiki Guide for details

Для экономии ресурсов в Ubuntu Server графическая оболочка не поставляется по умолчанию, однако, её туда можно установить. Это может понадобиться, если у вас есть физический доступ к серверу и вы хотите подключить его к экрану для более удобной работы или же вы новичок и хотите графический интерфейс.

В любом случае, это возможно и не очень сложно. Дальше мы рассмотрим, как установить графическую оболочку на Ubuntu Server 18.04 на примере Gnome и разберём, как подключиться к ней удалённо с помощью XRDP.

Установка графической оболочки в Ubuntu Server 18.04

1. Установка графической оболочки

Для установки всех компонентов, необходимых для работы графической оболочки, нужно установить всего лишь один мета-пакет - ubuntu-desktop:

sudo apt install ubuntu-desktop

Пакет потянет за собой очень много зависимостей, поэтому процесс может занять несколько десятков минут, в зависимости от вашей скорости интернета и мощности оборудования. Если вы не хотите устанавливать Gnome, то можно установить другие оболочки, например KDE, XFCE или LXDE:

sudo apt install kubuntu-desktop
sudo apt install xfce4
sudo apt-get install lxde

Когда установка оболочки Ubuntu Server будет завершена нам необходимо перезагрузить сервер:

2. Удалённое подключение к Ubuntu

Далее нужно подключиться к только что установленной оболочке удалённо. С удалённым подключением к графической оболочке у Ubuntu 18.04 Server беда. Мне удалось настроить только Xrdp. Для установки Xrdp выполните:

sudo apt install xrdp

Затем разрешите доступ к порту xrdp в брандмауэре:

sudo ufw allow 3389/tcp

После подключения Xrdp нужно создать цветовой профиль, и это приведёт к ошибке. Чтобы этой ошибки избежать, необходимо создать файл с таким содержимым:

sudo vi /etc/polkit-1/localauthority/50-local.d/45-allow.colord.pkla

[Allow Colord all Users]
Identity=unix-user:*
Action=org.freedesktop.color-manager.create-device;org.freedesktop.color-manager.create-profile;org.freedesktop.color-manager.delete-device;org.freedesktop.color-manager.delete-profile;org.freedesktop.color-manager.modify-device;org.freedesktop.color-manager.modify-profile
ResultAny=no
ResultInactive=no
ResultActive=yes

И только теперь можно подключатся к настроенному серверу с основной машины. Для этого можно использовать клиент remmina. В первом окне необходимо указать адрес хоста:

Для авторизации надо ввести имя вашего пользователя и пароль:


Выводы

В этой небольшой статье мы разобрали, как выполняется установка графической оболочки в Ubuntu Server 18.04. Теперь вы можете пользоваться графическим интерфейсом на своем сервере, но не забывайте, что графика требует много ресурсов.






Статья распространяется под лицензией Creative Commons ShareAlike 4.0 при копировании материала ссылка на источник обязательна.

Оцените статью:

(2 оценок, среднее: 4,50 из 5)

Об авторе

20 комментариев

Интересно, но с графикой на сервере всегда есть уязвимость. В плане взломать сервер.
Я бы, постерёгся от этой установки, на всякий случай. Хотя Linux и так очень сложно сломать!

А кому нужен твой сервер? Ты депутат? Министр? Или, подающий надежды политик? Успокойся! Компромат собирается (до востребования) совершенно на других людей))))

Назовите мне севера, где ставят Убунту - хоть один?

Поржал. Вообще-то Ubuntu - самый популярный дистр для веб-верверов.

Этот сайт работает на ubuntu 16.04.

Зачем xrdp? Есть X2go. Прилично работает с LXDE, LXQt, XCFE, MATE и еще несколькими DE.

а как xinit и xstart, их то куда дели, десктоп без них не але.

так выгодней, начнут новые юзеры голову ломать, по сайту лазить - трафик пойдёт

что за xstart? - кажется нет такого пакета

Нужна графическая оболочка для сервера, по надобности конечно.
когда ни чего не понимаешь в линуксе тыкать новичков в баш не корректно.
А как на убунту 18 с гуем для рейд?
как убрали в gnome disks работу с райд так я в печали. месяц.
НУ НЕ МОЖЕТ БЫТЬ ЧТОБЫ С РАЙДОМ РАБОТАЛИ ТОЛЬКО ЧЕРЕЗ MDADM!
Пошарил безрезультатно на эту тему в интернете.
или мдадм уже не популярен и есть ему программа на замену?
как вообще делать райд на убунту теперь?
столкнулся тут, после установки сервера, и пришлось отключить системные диски, подключить 2 шт по 1 тб и еще раз запустить установку убунту до меню с работой по конфигурации дисков.
И пользуйтесь разделом установки Эксперт.

Кое как внедрил vnc для подключения к серверу убунту 18.
через установку xfce4 (с другими иксами совсем не работает почему-то у меня) и
sudo apt install xfce4 xfce4-goodies
Теперь стартую vnc вручную, ну хоть так
roman@server:

$ vncserver :1 -geometry 1366x768 -depth 24
но не прописывается в автозагрузку через systemctl

забыл
ставил sudo apt -y install vnc4server

sudo aptitude install --no-install-recommends ubuntu-desktop

А вообще у меня на 19й серверной цветовой профиль сам создался, так что инструкциям доверяй, но проверяй.

Ага. А потом просто перестало работать. Аутентификацию проходит, показывает чёрный экран с курсором и через две-три секунды. Удалённое подключение просто закрывается. А что изменилось. Обожаю линукс.

Сейчас многие пользователи в виртуальном пространстве знают, что операционная система Линукс наиболее удобна по сравнению с ее аналогом Виндоус. Однако она имеет ряд существенных специфических особенностей, многие новички, не зная их, совершают грубейшие ошибки, вследствие чего возникают различные проблемы с рабочим столом Убунту. Одна из часто встречающихся неполадок такой области технических неурядиц: после ввода пароля не загружается рабочий стол. Причин этого процесса может быть множество, как и решений данного вопроса.

Причины, по которым в Ubuntu не загружается рабочий стол

После того, как произошло обновление гаджета пользователя и его последующая перезагрузка, возможно появление черного экрана. Дальнейшая перезагрузка операционной системы результата не дает. Кроме того, невозможно войти в меню Ubuntu через «пуск».

Иными словами, не обновляется рабочий стол на платформе Линукс. Причин того, что не запускается графическая оболочка Ubuntu, достаточно много:

  1. Проблема в самом оборудовании. Пользователя должно смутить не только то, что пропал рабочий стол Ubuntu, но и невозможность вообще войти в BIOS системы. Однако устранить эту неполадку можно только в сервисном центре.
  2. Неполадки в работе программы-загрузчика Grub. Неправильное обновление ведет к повреждению различных файлов этой программы, что в итоге выливается в невозможность запустить графическую оболочку Ubuntu.
  3. Конфликт драйверов различных базовых программ. В этом случае работа обновленных программ может не состыковываться с ранними версиями приложений. Именно поэтому возникает пустой рабочий стол Ubuntu. Решать эту проблему также стоит со специалистами компьютерного центра.
  4. Плохая работа самого интерфейса может приводить к тому, что Ubuntu не грузится после обновления.
  5. Отключение электроэнергии и источников питания оставляет Ubuntu без графической оболочки. В этом случае достаточно наладить электросеть и перезагрузить гаджет.
  6. Отсутствие необходимых дополнительных компонентов. Именно поэтому пользователь не заходит в Ubuntu после ввода пароля.

Исходя из вышеперечисленного, можно предположить, что способов решения проблемы тоже много.

Совет! Новичку для консультации лучше обратиться к проверенному специалисту.

Что делать, если рабочий стол не загружается

Здесь будут представлены 3 самых распространенных варианта решений изучаемого процесса.

При несовместимости драйверов, видеокарты и другого оборудования

Здесь требуется удаление текущего драйвера (оборудования) и установка его нового аналога.

  1. Открыть консоль (кратчайший путь – сочетание клавиш Alt, Ctrl, F1).
  2. Ввести логин и пароль пользователя.
  3. Ввести команды для удаления имеющегося драйвера: sudo apt-get purge nVidia* для NVIDIA или sudo apt-get purge fglrx* для AMD.
  4. Иногда стоит еще убрать конфигурацию компонентного файла с помощью соответствующей записи: sudo dpkg-reconfigure xserver-xorg.
  5. Перезагрузить операционную систему с помощью выражения sudo reboot.
  6. Установить новое оборудование: 1) sudo add-apt-repository ppa:oibaf/graphics-drivers ; 2) sudo apt-get update ; 3) sudo apt-get dist-upgrade ; 4) sudo apt-get install vdpau-va-driver ; 5) sudo reboot

После этого, проблема будет решена.

При плохом обновлении системы

Проблема будет решена.

При сбое графической оболочки

Здесь надо очистить кеш и перезагрузить компьютер или ноутбук.


  1. Открыть консоль (кратчайший путь – сочетание клавиш Alt, Ctrl, F1).
  2. Ввести логин и пароль пользователя.
  3. Сбросить настройки графической оболочки Unity с помощью выражений: dconf reset -f /org/compiz/ и setsid unity.
  4. Сбросить параметры Compiz с помощью записи в командной строке: mv

Проблема будет решена.

Как запустить графическую оболочку Ubuntu

Запуск интерфейса также имеет 2 известных метода с различной технологией решения проблемы.

Запуск графической оболочки Ubuntu из консоли

  1. Войти систему.
  2. Авторизироваться, то есть ввести конкретный логии пользователя и его пароль.
  3. Убедиться в подключении к виртуальному пространству.
  4. Открыть консоль на платформе Линукс сочетанием клавиш Alt, Ctrl, F1 и ввести выражение: $sudo apt-get install ubuntu-desktop .
  5. Ввести пароль пользователя.
  6. На вопрос системы об установке нового программного обеспечения следует сначала нажать Y, а потом Enter.
  7. В конце процесса в командной строке нужно ввести выражение: $sudo service gdm start.

В итоге пользователь спокойно может работать на Убунту.

Внимание! Для установки в качестве менеджера рабочего стола KDE нужно заменить слово ubuntu-desktop словом kubuntu-desktop, тем самым, в итоге, получив Kubuntu Linux.

Запуск рабочего стола Ubuntu из терминала

  1. Запустить терминал с помощью сочетания клавиш Alt, Ctrl, T.
  2. Посмотреть содержимое директория с помощью команды ls /etc/init.d/ . То же самое можно получить с помощью программы rcconf.
  3. Просматривая список, нужно найти имя ДМ, помеченное звездочкой – это рабочее оборудование.
  4. Установить еще один. Войти в виртуальный терминал клавишами Alt, Ctrl, F Ввести выражение в командную строку: sudo apt-get install имя_ДМ . Указать тот ДМ, который c помощью команды rcconf был выше определен, как работающий. Здесь имя_ДМ – это имя одного из ДМ: kdm, slim и т. д. Можно в качестве нового ДМ установить kdm, gdm, lightdm и slim.
  5. Для последующего изменения после перезагрузки ввести выражение: sudo dpkg-reconfigure имя_ДМ. ДМ должен совпадать с версией операционной системы, kdm, если первоначальный ОМ – KDE, gdm, если первоначальный ОМ – GNOME2, GNOME3, lightdm, если первоначальный OM – KDE, GNOME3, Unity, Cinnamon, XFCE4, LXDE, awesome, slim, если первоначальный ОМ – XFCE4, openbox, blackbox, awesome.
  6. Добавить менеджеры с помощью команд: sudo apt-get install kubuntu-desktop и sudo apt-get install хubuntu-desktop .
  7. Перезагрузить гаджет.

В итоге графическая оболочка запускается.

Замечание! Способ запуска зависит от конкретной модели ноутбука и версии Убунту.

Как удалить графический интерфейс Ubuntu

Технология намного проще установки:

Останется только перезагрузить систему.

Заключение

Проблема, когда после ввода пароля не загружается рабочий стол, часто встречающаяся, но быстро решаемая неполадка Убунту. Однако новичкам следует предварительно проконсультироваться с мастерами сервисного центра.

In this tutorial, we will guide you through the steps required to install Ubuntu Desktop on your laptop or PC.

What you’ll need

  • A laptop or PC (obviously!) with at least 25GB of storage space.
  • A flash drive (8GB as a minimum, 12GB or above recommended).

Whilst Ubuntu works on a wide range of devices, it is recommended that you use a device listed on the Ubuntu certified hardware page. These devices have been tested and confirmed to work well with Ubuntu.

If you are installing Ubuntu on a PC or laptop you have used previously, it is always recommended to back up your data prior to installation.

2. Download an Ubuntu Image

You can download an Ubuntu image here. Make sure to save it to a memorable location on your PC! For this tutorial, we will use the Ubuntu 20.04 LTS release.

3. Create a Bootable USB stick

To install Ubuntu Desktop, you need to write your downloaded ISO to a USB stick to create the installation media. This is not the same as copying the ISO, and requires some bespoke software.

For this tutorial, we’ll use balenaEtcher, as it runs on Linux, Windows and Mac OS. Choose the version that corresponds to your current operating system, download and install the tool.

If you prefer to use a different tool to create your USB, we also have tutorials for Rufus on Windows, Etcher on Mac OS and Startup Disk Creator on Ubuntu.

Select your downloaded ISO, choose your USB flash drive, and then click Flash! to install your image.

4. Boot from USB flash drive

Insert the USB flash drive into the laptop or PC you want to use to install Ubuntu and boot or restart the device. It should recognise the installation media automatically. If not, try holding F12 during startup and selecting the USB device from the system-specific boot menu.

F12 is the most common key for bringing up your system’s boot menu, but Escape, F2 and F10 are common alternatives. If you’re unsure, look for a brief message when your system starts – this will often inform you of which key to press to bring up the boot menu.

You should now see the welcome screen inviting you to either try or install Ubuntu.

If you click Try Ubuntu, you can preview Ubuntu without making any changes to your PC. You can return to the installer menu at any time by clicking the Install Ubuntu shortcut on the desktop.

To proceed, click Install Ubuntu.

You will be asked to select your keyboard layout. Once you’ve chosen one, click Continue.

5. Installation Setup

Next, you will be prompted to choose between the Normal installation and Minimal installation options. The minimal installation is useful for those with smaller hard drives or who don’t require as many pre-installed applications.

In Other options, you will be prompted to download updates as well as third-party software that may improve device support and performance (for example, Nvidia graphics drivers) during the installation. It is recommended to check both of these boxes.

If you are not currently connected to the internet, you will be prompted to do so at this point. Ensure you are able to remain connected throughout the installation.

6. Drive Management

This screen allows you to configure your installation. If you would like Ubuntu to be the only operating system on your device, select Erase disk and install Ubuntu.

If your device currently has another operating system installed, you will receive additional options to install Ubuntu alongside that OS rather than replacing it. This requires some additional steps not covered in this tutorial. However, you can read more about setting up dual-booting in this useful tutorial on Dave’s RoboShack.

If you are happy to continue the installation without enabling encryption, click Install Now and confirm the changes with Continue. Otherwise keep reading.

7. (Optional) Enable Encryption

If you would like to encrypt your device, select Advanced features… > Use LVM with the new Ubuntu installation > Encrypt the new Ubuntu installation for security.

LVM stands for Logical Volume Management. By using LVM during the setup, it makes it easier to create and manage partitions post installation.

You will be prompted to create a security key once you click Install Now.

If you select encryption, it is important that you do not lose your security key! Write it down and store it in a safe place outside of your local system. You will not be able to recover your data without it!

Click Install Now and confirm the changes with Continue.

8. Choose your Location

Select your location and timezone from the map screen and click Continue. This information will be detected automatically if you are connected to the internet.

9. Create Your Login Details

On this screen, you will be prompted to enter your name and the name of your computer as it will appear on the network. Finally, you will create a username and a strong password.

You can choose to log in automatically or require a password. If you are using your device whilst travelling, it’s recommended to keep automatic login disabled.

10. Complete the Installation

:slight_smile:

Now sit back and enjoy the slideshow as Ubuntu installs in the background!

Once the installation has completed, you will be prompted to restart your machine.

Click Restart Now.

When you restart, you will be prompted to remove your USB flash drive from the device. Once you’ve done this, press ENTER.

Enter your password on the login screen (assuming you selected that option when creating your login details).

And that’s it, welcome to your new Ubuntu Desktop!

The welcome widget will help you with some additional setup options, including:

  • Connecting your profile to various online accounts.
  • Configure Livepatch to automatically apply updates to your device (this option is only available when using a long term support [LTS] version of Ubuntu).
  • Opting into sending device information to Canonical to help improve Ubuntu (by default, Canonical doesn’t collect device information).
  • Activating location services.
  • Downloading additional apps from Ubuntu Software.

11. Don’t forget to Update!

It’s always good practice to ensure your system is up to date, especially after a fresh install.

The easiest way to do this is via the Software Updater app. Search for Software Updater via the app menu (the icon with 9 squares in the bottom corner of your window) and it will check for updates and apply them.

You can also update Ubuntu using the terminal.

Press CTRL+ALT+T to bring up a Terminal window (or click the terminal icon in the sidebar).

sudo apt update

You will be prompted to enter your login password.

This will check for updates and tell you if there are any that need applying. To apply any updates, type:

sudo apt upgrade

Type Y, then press ENTER to confirm to finish the update process.

12. You’ve installed Ubuntu!

Thank you for completing this tutorial. We hope you enjoy your new desktop.

If you have any issues, please contact us via the Ubuntu Discourse, or visit Ask Ubuntu.

You can also read the latest news about Ubuntu Desktop on the Ubuntu Blog.

Читайте также: