Manjaro Beginner User Guide 2016
Manjaro Beginner User Guide 2016
USER GUIDE
Licensed under the Attribution-ShareAlike 4.0 International Licence (the “Licence”); you may not use this
file except in compliance with the License. You may obtain a copy of the Licence at:
https://creativecommons.org/licenses/by-sa/4.0/legalcode
Unless required by applicable law or agreed to in writing, software distributed under the Licence is
distributed on an “as is” basis, without warranties or conditions of any kind, either express or implied. See
the Licence for the specific language governing permissions and limitations under the Licence.
Core Team
Alexandre A. Arnt Developer
Artwork
Lane Wiscombe (anex) Manjaro Artwork, MATE Community Edition
Maintainer
OpenRC Team
Artoo Packaging, Porting, Infrastructure
Documentation
Jonathon Fernyhough Editor of the User Guide 0.8.9-0.8.13, 15.09-16.06,
Community Management
Sabras Wiki
Alumni
Carl Duff Community, Documentation and Wiki Management, Script-
ing and Configuration
Acknowledgements
Introduction 11
I Getting Manjaro 13
Downloading Manjaro 15
II Installing Manjaro 29
Getting help 69
Index 93
Introduction
About Manjaro
Features
1: Welcome to Manjaro!
Part I
Getting Manjaro
Downloading Manjaro
Manjaro editions
Xfce edition
ce7471ddb5496abdbe484a9615ff0b6b42cedc47258aa5ad37fa5c252e28371d manjaro-xfce-15.09-rc3-x86_64.iso
You may have seen there are three checksum files. One ends -sha256sum.txt,
one in -sha1sum.txt, and the other ends -md5sum.txt. MD5 and
SHA are two types of hashing algorithms; the ’sha’ part of the
checksum file name stands forSecure Hash Algorithm. These al-
gorithms are used to generate a hash code unique to the disc image
file. The checksum file itself is just a text document that contains
hash codes that should match the code generated by the MD5 or
SHA algorithms. Copies of the file can be checked to make sure they
are exactly the same - if the file is changed in any way, either inten-
tionally or by corruption, the code generated will be different.
Whilst MD5 is commonly used, SHA-256 is newer and more se-
cure and is beginning to replace MD5. For the purpose of checking
the integrity of the downloaded file MD5 is“good enough” but SHA-
256 is a better solution. The checking process is the same for both
algorithms. We recommend you use SHA-256. For more about hash-
20 manjaro linux
in the checksum file, then the disc image file is fine. If the two codes
don’t match then it means that the disc image file has changed in
some way, most likely due to being corrupted. You can think of it like
someone using a password to identify who they are: if they provide
the wrong password, then something is probably wrong.
From this point on we’ll assume you are using the file manjaro-
xfce-15.09-rc3-x86_64-sha256sum.txt.
Checking in Linux
Automatic verification
The programsha256sumcan automatically compare the checksum of
the disc image you downloaded against the value in the text file. The
process should be very straightforward!
For this example, I first open a terminal and change to the direct-
ory where I downloaded the disc image file and checksum file. I use
the commandls to check which files are present:
jonathon@box:~$ cd download
jonathon@box:~/download$ ls
manjaro-xfce-15.09-rc3-x86_64-sha256sum.txt manjaro-xfce-15.09-rc3-x86_64.iso
As you can see I have downloaded the 64-bit Xfce edition. Next, I run
thesha1sum program to check against the values in the checksum file:
The line shows the result of the checks. In this case, it shows thatsha256sum
has successfully verified the disc image I downloaded against the
checksum value in the file.
sha256sum: manjaro-xfce-15.09-rc3-x86_64.iso: OK
Manual verification
To manually check the integrity of your downloaded file, first open
the downloaded manjaro-xfce-15.09-rc3-x86_64-sha256sum.txt check-
sum file using a text editor such as Gedit. Once the checksum file has
been opened, and the codes are visible, open up your terminal and
change to the directory where your downloaded disc image is stored.
For example, if your disc image file is located in a directory named
download, you would first change to that directory:
user guide 21
jonathon@box:~$ cd download
Then you can generate an SHA-1 hash code for the disc image using:
This command generates a hash code for the 64-bit Manjaro Xfce disc
image which can then be manually compared to the code contained
in the checksum file.
Unlike Linux, Microsoft Windows does not have any suitable built-in
tools so you will need to download and install a checksum utility
application. A web search will turn up several examples of free soft-
ware, or you can look on the Download.com website.6 Another free 6
http://download.cnet.com/
checksum utility which has positive reviews is Raymond’s MD5
& SHA Checksum Utility.7 This is the program we will use in the 7
http://raylin.
wordpress.com/downloads/
following example.
md5-sha-1-checksum-utility/
Once you have downloaded the checksum utility, the checking
process is very straightforward. Simply Browse to the downloaded
disc image, select it, and click Open. The program will then calcu-
late the checksums for the disc image file. To verify the checksum is To speed up the process it’s probably
a good idea to deselect the hashes you
correct, open the manjaro-xfce-15.09-rc3-x86_64-sha256sum.txt in a
are not verifying.
text editor such as Notepad, copy the checksum for the disc image
file you have downloaded, and paste it into the verification box. Then
22 manjaro linux
click Verify. If there are no problems with the disc image file the
program will inform you that the hash matched.
Writing a disc image
Many people routinely use a DVD rather than a CD even for the
smallest disc image files. Not only is a DVD faster to burn but they
allow higher data access rates so the Live-CD loads faster and the
installation completes sooner.
However, with the increasing capacity and decreasing cost of USB
flash mediathis presents an even more attractive method than the If your system will boot from a USB
traditional burning process; it is far faster and more flexible than device, and you have one of sufficient
capacity that you can erase, we recom-
using optical media. Both CD/DVD burning and USB flash media mend the use of a USB flash drive over
installation methods are covered in this guide. traditional CD/DVD media.
24 manjaro linux
4. Click the button beneath the title Select a disc image to write to
open up your file manager. Locate and double-click the down-
loaded disc image file to load it. Upon automatically returning to
the Image Burning Setup window, note that the disc image file is
now listed as the disc image to write.
2. Start Windows Disc Image Burner. For more information about this
program see:http://windows.
microsoft.com/en-gb/windows7/
3. Click Burn.
burn-a-cd-or-dvd-from-an-iso-file
The burning process for each of these applications is similar, with Table 2: Third-party disc burn-
small differences in user interface. The websites listed above will ing software for Microsoft
Windows
26 manjaro linux
To take advantage of the faster access times and much quieter nature
of a USB flash drive, there are a number of methods of writing the
disc image file. One of the easiest is to use ImageWriter.
ImageWriter should be available for installation from your distri-
bution’s Software Center / Software Manager / Package Manager /
repositories. Once Imagewriter has been downloaded and installed, 2: ImageWriter
ensure that your USB flash drive is plugged in before starting the https://en.opensuse.org/
application. SDB:Live_USB_stick
The process of using ImageWriter is very straightforward:
1. Click on the centre icon.
2. Navigate to where you downloaded the disc image file, and select
it.
3. Ensure that your USB flash drive has been selected from the drop-
down menu.
5. Once it has finished, reboot your system, making sure to select the
USB flash drive as the boot device.
4. Once completed reboot your system and boot from the USB drive
in the normal way.
user guide 27
Click Start, and you are done! (though it takes between around two
and five minutes to complete).
3: Rufus with recommended
settings
Part II
Installing Manjaro
Booting the Live environment
When you boot from your installation media (CD/DVD or USB flash
drive) you should be presented with the Manjaro boot screen. This
screen provides several options to help get the best experience from
the Live environment.
It is possible at this stage to set your preferred language and key-
board layout before using Manjaro. This means that you will be able
to use and install Manjaro in your native language straight away.
1: Boot menu
Setting your language and keyboard layout
First, set your preferred language by pressing the<F2> key. The op-
tions available can be highlighted for selection by using the arrow
keys on your keyboard. In this instance, English (UK) has been high-
lighted for the user.
Once selected, press <Enter> to confirm and to be taken back to
the boot menu.
2: Language selection
32 manjaro linux
There are two main sets of drivers that can be used by Manjaro: Free
and non-Free. The differences are not minor, and your choice can
depend on your computer hardware. If in doubt, choose Free drivers. If you
want to play games, choose non-Free
Free drivers are open-source, like Manjaro itself, written and updated drivers.
by a large community. For older hardware and that with Intel-
based integrated graphics, this is the best choice.
To start Manjaro with Free drivers, choose Start Manjaro Linux from
the boot menu.
To start Manjaro with non-Free drivers, choose Start (non-free
drivers) from the boot menu. 3: Start Manjaro Linux
Welcome to Manjaro
Once you select Start, Manjaro will boot up. You may see a lot of
scrolling text - don’t worry, this shows the system is working! After
a little while, assuming your hardware is compatible, you will be
presented with a Live desktop environment and a nice friendly wel-
come screen.
The welcome screen gives some links to common tasks, document-
ation (like the thing you’re reading now!) and the support channels.
There are also links to the installation programs. Don’t worry if you
close the welcome screen: you can load it again, and all the links are 4: Welcome to Manjaro!
also present elsewhere in the menus.
Using the graphical automatic installer
User guide:http: // wiki. manjaro. org/ index. php? title= Graphical_ Installation_ Guide_ for_ Beginners_ 0. 8. 8
34 manjaro linux
Installation...
...complete!
Log in
User guide:http: // wiki. manjaro. org/ index. php? title= Graphical_ Installation_ Guide_ for_ Experienced_ Users_
For a refresher on partitioning your disk, check out the wiki pages on
partitioning and partitioning scenarios:
Partitioning:http: // wiki. manjaro. org/ index. php? title= Partitioning_ Overview_ and_ Existing_ Partition_ Tabl
Partitioning scenarios:http: // wiki. manjaro. org/ index. php? title= Cfdisk_ Basic_ Partitioning_ Scenarios
42 manjaro linux
A two-partition scenario
Partition 2: Home
Swap partition
UEFI is the commonly agreed on name for both the EFI & UEFI stand-
ards which merged. It does not include the old EFI v1, or Apple’s own
non-standard version of EFI.
The most important step is to ensure that your machine does not
have Secure Boot enabled. Only a very limited number of operating
systems will boot with this enabled. You must disable this in your
BIOS before proceeding; if you don’t know how to do this please
refer to your computer’s user manual.
Once you have booted the system from the Live CD/USB you
will be presented with the Manjaro boot selection screen. It has two
main options for the drivers it will use (either Free or non-Free). The
main difference is the lack of any option for language or keyboard
layout. However, this is actually not that important! When you run
Thus and choose your language and keyboard layout this will take
effect within the Live environment, along with setting these for the
installed system.
48 manjaro linux
It is possible that you want install Manjaro but keep an existing Win-
dows 8 installation on your computer. This is possible, but a little
more complicated to set up. It’s not for the faint-of-heart, and you
should make sure you have a backup of any important documents or
information before proceeding.
The following instructions assume you are using a machine with
UEFI enabled, Secure Boot disabled, and are using drives with a
GUID Partition Table (GPT).
ClickStart, and you are done! (though it takes between around two
and five minutes to complete). 1: Rufus with recommended
settings
Boot the Live environment
Before booting, check your BIOS settings: UEFI must beon and Se-
cure Boot off. Manjaro currently doesn’t support Secure Boot.
Boot with your Live media and select which set of drivers you
would like to use:
Boot Manjaro Linux ... (default) This chooses the open-source graphics
card drivers.
user guide 51
Boot Manjaro Linux ... (nonfree) This option chooses the proprietary
graphics card drivers from Nvidia or AMD.
If you’re not sure which to use, refer back to the earlier section Boot-
ing the Live environment.
Once you are happy with the new partition layout, on the menu go
to Edit, Apply all operations. There will be a confirmation message;
to continue you must click Apply.
The resizing process will take some time. Perhaps another chance
to get a cup of tea! Once it has completed, close GParted and then
run Install Manjaro Linux.
52 manjaro linux
sudo update-grub
Install system
Configure system
Install bootloader
Quit
Welcome to Manjaro
The Manjaro desktop
Once you have logged in you will be presented with the Manjaro
desktop. The Welcome Screen will load automatically and this gives
you some useful links to documentation, ways to get help and sup-
port from the Manjaro community, and some ways you can get in-
volved with the project. Remember that Manjaro is free and open-
source software: it relies on contributions from its user and developer
community!
If you don’t want the welcome screen to load each time you log in,
just untick the box Show this dialog on startup. Don’t worry: you
can always find it again in the applications menu.
The applications menu is the easiest way of starting the software
programs that are installed on your Manjaro system. The icon for this
is in the corner of the screen. Go ahead and click on it now! You can also press the“Windows”
or“Super” key on your keyboard.
Handy!
64 manjaro linux
You can see that the five main software applications have an item
in the“Favourites” menu. This allows rapid access to software you
most often use. To add or remove an item from the Favourites menu,
just right-click on it and select the option you want.
For now, let’s look in turn at these five applications to give an idea
of what awaits you!
3: Add to Favourites
Terminal Emulator
5: Terminal Emulator, or
terminal, allows you to per-
form text-based commands.
Although it initially seems
unfriendly it is incredibly
powerful and allows access to
commands that are difficult to
accomplish with a graphical in-
terface. In this example, I have
listed (ls) the files in my home
directory.
Learning how to use the ter-
minal is not needed for running
Manjaro. It’s highly recommen-
ded, however; check out sites
likehttp://linuxcommand.org/
!
File Manager
Web Browser
Mail Reader
Add/Remove Software
There are a variety of ways of getting help and support about Man-
jaro, as well as finding out more about the project. You can just
browse, or register if you want to get involved!
Remember that Manjaro is run by its community. Without a com-
munity there would be no Manjaro!
Discussion forum
http://forum.manjaro.org/
IRC channels
http://bit.ly/manjaro-irc-web/
3: Join #manjaro on
irc.freenode.net, whether via
a web or desktop client, and
you’ll find a very nice bunch of
people ready to chat! To talk on
the IRC channel you will have
to connect first. Hexchat comes
installed in the Xfce edition.
72 manjaro linux
Mailing list
http://lists.manjaro.org/listinfo/manjaro-general
Wiki
http://wiki.manjaro.org/index.php?title=Main_Page
Changing settings
While the Manjaro desktop comes with a set of defaults that should
work well for most people, you might want to change things like the
desktop wallpaper and colour scheme, or perhaps how your laptop
touchpad behaves.
Adding a printer
Updating software
Pamac
Octopi
Octopi is an alternative software manager for Manjaro. It is installed
with the Openbox and KDE editions as it is based on the QT toolset.
It also has a very funky icon!
Pamac
Octopi
The process of installing new software using Octopi is very similar to
Pamac.
Using Pacman
This will only download the package lists if there has been a change.
Occasionally you may want to force the package lists to be down-
loaded. To do this, type:
sudo pacman -Syy
Updating software
Pacman will allow you to perform an update of software already
installed:
sudo pacman -Su
It’s a good idea to check whether the package lists are up-to-date at
the same time:
sudo pacman -Syu
Installing software
Installing a package is equally straightforward. For example, to in-
stall Leafpad: Many software applications depend on
other software packages. Thankfully,
sudo pacman -S leafpad pacman will automatically detect and
install these!
88 manjaro linux
Removing software
To remove a software package you need to know its name, but the
command is straightforward. To remove Leafpad:
sudo pacman -R leafpad
If at a later date you want to remove all orphan packages and con-
figuration files for packages that you removed some time ago, the
following command will do it:
sudo pacman -Rns $(pacman -Qtdq)
man pacman
To exit, pressq.
Manjaro will regularly trigger an update of the mirror list, but some-
times it’s useful to do this manually.
To update the mirror list use the following command:
sudo pacman-mirrors -g
This will test the speed of all currently available mirrors and set your
machine to use the best for you. Once this command has completed,
you should force a download of the package lists:
2: sudo pacman-mirrors -g
sudo pacman -Syyu
Choosing mirrors
If you would like more control over which mirrors to use, run the
command:
sudo pacman-mirrors -i
This will allow you to select which mirror, or mirrors, to try when
checking for software updates and downloading new packages. It’s 3: sudo pacman-mirrors -i
normally best to choose mirrors that are geographically close to you,
so if you’re in Canada then Canadian and US servers are generally a
good bet. Of course, you’re free to choose whichever you want!
To reset back to an automatic choice, run this command:
sudo pacman-mirrors -g -c all
Switching branches
When you install Manjaro you will be using the stable branch. This
set of packages has the most testing and so is the best for most users.
However, you may want to help test packages before they move to
the stable repository:
sudo pacman-mirrors -g -b testing
The testing repository has packages that have been checked by the
Manjaro development team to make sure they work correctly. How-
ever, the amount of testing done is much smaller than for the stable
branch - but this is how they get tested!
If you want to live on the bleeding edge, you can switch to the
unstable branch. This is normally used by the Manjaro developers.
Packages from the unstable branch can cause problems, so this is not
something to do lightly:
sudo pacman-mirrors -g -b unstable
90 manjaro linux
If you switch away from the stable branch, but want to move back,
it’s actually pretty easy:
This will leave the newer packages on your system and these will be
replaced as the stable branch catches up. However, if you want to
force a downgrade of packages back to the stable version, use:
This means pacman thinks it is already running. If it is, and you try
to force an installation or removal of software, the package database
can be left in an inconsistent state. This would be bad. So, the first
thing to check is whether an installer is running. One of the easiest
ways to check is to run a terminal command:
ps x | grep pacman
This might look complicated, but it’s just two small commands joined
(piped) together. First,
ps x
grep pacman
user guide 91
searches for the text“pacman”. The pipe, |, takes the output from the
first and feeds it to the second. To check whether another program is
running you can just change the text“pacman” to something else:
ps x | grep pamac
ps x | grep octopi
Once you are sure an installer is not running, you can delete pac-
man’s lock file:
sudo rm /var/lib/pacman/db.lck
• Ensures no packages are left out of line with the current repository
state.
fixit
More information
Licence, documentation, 4
desktop, 63 Terminal Emulator, 65
Live environment, 31
Downloading, 15 text-based installer, 57
Mail Reader, 66
editions, 15 Mailing list, 72 UEFI, 47
errors, checking for, 19 Maintaining your system, 73 Updating software, 79
Manjaro Development Team, The, 5 USB flash drive, 26
Favourites, 64 Microsoft Windows 8, 50
Features, 11 mirror, 88 Web Browser, 66
File Manager, 65 Wiki, 72
Fixing installation errors, 90 Octopi, 80 Writing a disc image, 23