You are not logged in.

#1 2009-06-13 09:41:25

el_zoona
Member
From: Argentina
Registered: 2008-02-01
Posts: 58
Website

Arch Linux cheat sheet [PDF and ODG]

Hi, as far as I know, I already turn two Windows users to Arch, so I was thinking that would be nice to have a simple cheat sheet to help new users quickly.

Somethings maybe wrong and thats why I'm asking for help and contributions. Many new things I wasn't aware (like the new "No xorg.conf" philosophy, the departure of hwd and many other new things), I've been using Arch for almost two and a half years, so I even haven't tried the new Installation Framework (hopefully tomorrow a friend will install Arch, so I will have a chance). Many other errors must be in the grammar, I'm pretty lousy at English as you can see.  And finally, maybe I just forgot something you may think that should be in the cheat sheet or something I put, but in the wrong way.

Anyway, hope somebody find it useful or like to help, the link is: http://elzoona.com.ar/archcheatsheet

P.S.: The PDF was made using OpenOffice Draw, but, after many years, I still can't use offimatic software, so If anybody knows a better option please tell me (if you download the ODG will see that indentation was done with four spaces...).


// Send more Chuck Berry

Offline

#2 2009-06-13 09:43:43

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,510
Website

Re: Arch Linux cheat sheet [PDF and ODG]

The abs configuration file is in a weird place according to the pdf...

Offline

#3 2009-06-13 09:52:41

el_zoona
Member
From: Argentina
Registered: 2008-02-01
Posts: 58
Website

Re: Arch Linux cheat sheet [PDF and ODG]

Thanks a lot, fixed.


// Send more Chuck Berry

Offline

#4 2009-06-13 11:17:36

jelly
Administrator
From: /dev/null
Registered: 2008-06-10
Posts: 714

Re: Arch Linux cheat sheet [PDF and ODG]

Nice , maybe include this in the beginners wiki

Offline

#5 2009-06-13 11:38:54

deej
Member
Registered: 2008-02-08
Posts: 395

Re: Arch Linux cheat sheet [PDF and ODG]

There's always one picky-devil who spots a typo:

Daemons configuration
/etc/pacman.d/
Mirros config for pacman

Deej

Offline

#6 2009-06-13 12:21:56

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,965
Website

Re: Arch Linux cheat sheet [PDF and ODG]

I like the overall idea but I worry that the pacman command section might encourage laziness. I think you should emphasize the importance of the pacman man page along with some others to make it clear that most information is readily available from the command line. Perhaps an "important man pages" section would convey this. You could include pacman, pacman.conf and makepkg to start with.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#7 2009-06-13 12:46:01

el_zoona
Member
From: Argentina
Registered: 2008-02-01
Posts: 58
Website

Re: Arch Linux cheat sheet [PDF and ODG]

Typos fixed.

Xyne wrote:

I like the overall idea but I worry that the pacman command section might encourage laziness. I think you should emphasize the importance of the pacman man page along with some others to make it clear that most information is readily available from the command line.

Yeah, could it be. My attempt was to give a quick reference for common commands, to avoid reading all the man page when you only can't remeber wich one was the, i.e., --foreign switch. But encourage to read a lot more by giving the "pacman -[Q|R...] --help" section. The whole idea of the cheat sheet it's to remind a simple command you know that exists but can't remember the name or a specific switch. Anyhow, to include the "look for man pages, they still exists" could be an excellent idea (you know, this times when everything is a wiki or a search button away) because reading trough man pages provide a lot of knowledge.

Xyne wrote:

Perhaps an "important man pages" section would convey this. You could include pacman, pacman.conf and makepkg to start with.

Damn, I knew it! I forgot to include a single reference to makepkg command.

EDIT: Included a "useful man pages" at the end of some sections and 100% more advices for free! :-).

Last edited by el_zoona (2009-06-13 13:08:25)


// Send more Chuck Berry

Offline

#8 2009-06-13 15:15:26

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

Re: Arch Linux cheat sheet [PDF and ODG]

Pretty good overall description.  If you got to do it in one page this would be it.  Here's my Arch cheat sheet:

pacman -Sy            # Sync package list
pacman -Ss <package>  # Search for package
pacman -Si <package>  # Info for package
pacman -S  <package>  # Add package
pacman -U  <package>  # Update package
pacman -Q             # List installed
pacman -Ql <package>  # Package files
pacman -Qo /path/file # File belongs to?
pacman -Rs <package>  # Remove pkg/deps
pacman -Syu           # Sync and Upgrade
pacman -Qdtq          # Unneeded deps.
pacman -S --asdeps    # Install pkg as dep.

Remove unneeded dependencies:

pacman -Rs $(pacman -Qtdq)

Making List of Installed Packages for Reinstall

pacman -Qqet | grep -v "$(pacman -Qqg base)" > pkglist

Reinstall from Package List

pacman -S $(cat pkglist)


AUR

yaourt (uses same syntax as pacman)


ABS

pacman -S abs
abs

Local

/var/abs/local

It's dangerous to run makepkg as root.
Add regular user to be able to add package dependencies:

visudo
USER_NAME ALL=(ALL) NOPASSWD: /usr/bin/pacman

Makepkg are regular user and add dependencies:

makepkg -s

Add package to system with:

pacman -U <package>-pkg.tar.gz

Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

#9 2009-06-13 16:22:12

Cotton
Member
From: Cornwall, UK
Registered: 2004-09-17
Posts: 568

Re: Arch Linux cheat sheet [PDF and ODG]

deej wrote:

There's always one picky-devil who spots a typo:

Daemons configuration
/etc/pacman.d/
Mirros config for pacman

Deej

A spell check on the whole document wouldn't go amiss wink

Offline

#10 2009-06-13 19:00:03

Nepherte
Member
From: Singapore
Registered: 2008-09-09
Posts: 427

Re: Arch Linux cheat sheet [PDF and ODG]

In the xorg.conf section, you frequently mention startx. Maybe refer to the .xinitrc file to get startx working?

Offline

#11 2009-06-15 10:51:31

kamiheku
Member
Registered: 2009-05-11
Posts: 42

Re: Arch Linux cheat sheet [PDF and ODG]

In the "Links and information" section, on the first bullet:

el_zoona wrote:

if you know wich page it's

Spell checking +1 wink


"Click clack, clicketyclacketyclick!"
-- IBM Model M

Offline

#12 2009-06-15 14:56:03

el_zoona
Member
From: Argentina
Registered: 2008-02-01
Posts: 58
Website

Re: Arch Linux cheat sheet [PDF and ODG]

Thanks again.

I will add some of those pacman tricks, BTW, that Reinstall list it's quite nearly black magic to me :-P. I will mention to .xinitrc (good advice) and yeah, I need to spell check the entire document (As you can see, English isn't my first lang, and OOo didn't check it :-P, I'll fix that or use another service).

Did you see that I added to the KISS principle by not making colored rectangles, and things like that? :-D.


// Send more Chuck Berry

Offline

#13 2009-06-15 15:16:05

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: Arch Linux cheat sheet [PDF and ODG]

am i the only one finding it difficult to read? nice idea, the layout is not KISS..

Offline

#14 2009-06-15 15:52:23

el_zoona
Member
From: Argentina
Registered: 2008-02-01
Posts: 58
Website

Re: Arch Linux cheat sheet [PDF and ODG]

The layout certainly it's not. I tried to achieve the minimum impact in printers and not to be flashy, but since I really suck at everything that needs a little design that was the best I could get. Perhaps, someone else with a good designer mind could re draw the layout.

P.S.: I've checked again the PDF and think you're right, the font it's too big and not a pretty one. Courrier fonts may work better. Thanks.


// Send more Chuck Berry

Offline

#15 2009-06-15 16:00:16

marxav
Member
From: Gatineau, PQ, Canada
Registered: 2006-09-24
Posts: 386

Re: Arch Linux cheat sheet [PDF and ODG]

I prefer to see things organized differently.  In two columns, what I want to do, then to command.  Alphabetically sorted.

Add package              pacman -S  <package> 
File belongs to?          pacman -Qo /path/file
Info for package         pacman -Si <package> 
Install pkg as dep.     pacman -S --asdeps   
Package files             pacman -Ql <package> 
Remove pkg/deps      pacman -Rs <package> 
Search for package     pacman -Ss <package> 
Sync and Upgrade       pacman -Syu           
Sync package list        pacman -Sy           
Unneeded deps.         pacman -Qdtq         
Update package         pacman -Q             
Update package         pacman -U  <package>

Offline

#16 2009-06-15 20:50:13

lang2
Member
Registered: 2006-02-10
Posts: 386

Re: Arch Linux cheat sheet [PDF and ODG]

You might want to use more than one font.

Offline

#17 2009-06-15 22:08:51

Daenyth
Forum Fellow
From: Boston, MA
Registered: 2008-02-24
Posts: 1,244

Re: Arch Linux cheat sheet [PDF and ODG]

marxav wrote:

File belongs to?          pacman -Qo /path/file

Think it makes sense to also mention pkgfile here in the cheatsheet?

Offline

#18 2012-02-11 07:17:00

geoffm
Member
Registered: 2012-01-15
Posts: 30

Re: Arch Linux cheat sheet [PDF and ODG]

check this one out
http://i.imgur.com/JB6N5.jpg


moderator edit: Welcome to the forums. Please read Forum Etiquette: Pasting Pictures and Code. Thanks. --fsckd

Last edited by fsckd (2012-02-11 15:45:29)

Offline

#19 2012-02-11 15:53:52

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: Arch Linux cheat sheet [PDF and ODG]

moderator comments

The image geoffm links to originates in this thread: https://bbs.archlinux.org/viewtopic.php?id=134969

While this constitutes as necro-bump, the cheat sheet project may still be active. So I shall leave this thread open.

geoffm, please read Forum Etiquette. Thanks.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

Board footer

Powered by FluxBB