Download an Image file from their official_website and install this image file through any booting software like Rufus.
NOTE : Select write in “DD” mode . (this option is particular for manjaro KDE version) and for other manjaro version choose “ISO image mode”
Recommended : Manjaro KDE (if your pc/laptop have i5).
Problem : Sometimes when you write your ISO in DD mode then your USB drive shows less space. like if USB is 8gb then its shows only 4mb size of whole pen drive.
To Solve this Problem : Insert USB stick in Linux ( only Linux and MacOS can solve this Problem ).
Open KDE Partition Manager ( in Manjaro ) and delete all the partitions that are present in current USB stick, and assign new partitions (this will solve your problem).
Now install the system via USB stick.
For Example : — If You have 250GB SSD like me
otherwise partition the drive according to your need.
Root (/) — Primary ( 50–60 GB)
Home (/home) — Primary (As per Need )(In my system (150 -160 GB)
Boot (/boot) — Primary ( 2–3 GB)
Extended (/Logical) — Remaining space( Total =250 Gb — 60Gb —150Gb — 3Gb = 37GB)
Var (/var) — 17GB(Because its stores all the temps and caches)
Swap(Linux Swap) — 20GB**( Mainly 2 X RAM).**
Yaourt, stands for Yet AnOther User Repository Tool
Yaourt :-is a command line interface program which complete pacman for installing software on Archlinux.
sudo nano /etc/pacman.conf
add the following in the end of the file.
[archlinuxfr]SigLevel = NeverServer = http://repo.archlinux.fr/$arch
save and close the file.
Now Update Repo database and install Yaourt using command.
sudo pacman -Sy yaourt
sudo pacman -S --needed base-devel git wget yajl
after installing necessary dependencies we have to install package — query that allows to build and run yaourt.
git clone https://aur.archlinux.org/package-query.git
cd package-query/
makepkg -si
cd ..
git clone https://aur.archlinux.org/yaourt.git
cd yaourt/
makepkg -si
cd ..
sudo rm -dR yaourt/ package-query/
Run these commands line by line .( i m not including explanation of every command in this Article. if you want to know more follow this )
This will install Yaourt in system .
Some Basics Usages of Yaourt -
//Update Arch Linux
yaourt -Syu
//Install a Package
yaourt -S <package-name>
//To Upgrade a packages
yaourt -U <package>
Enable Yaourt In Octopi
This Skeleton Button is Yaourt
After Installing a system ,we will install some basic apps that we need.
Enable AUR : — Open Octopi then go to tools and enable AUR.
1. Browsers
2. Code_Editors
3. For_Download
4. For_Email
5. Other_Apps
Now we have all the basics apps we need .
Follow this step only if you have high configurable Pc otherwise it will slow down your system or install its small package.
Sudo pacman -S Plasma kio-extras
All Applications
Sudo pacman -S Kde-applications
Selected Applications
Sudo pacman -S Kdebase
and after all this some other settings are
default display manager for kde is SDDM(Update)
Sudo Systemctl enable sddm.service --forcereboot
Update Current User
/usr/bin/cp -rf/etc/skel/.reboot
Otherwise it will slow your pc and open any time new desktop .
This option is only for you when you have a 2nd storage drive in your system .
We have two storage drives in our system 1 SSD + 1 HDD
We install our system in SSD and use HDD as to increase storage of our system.
Partition
Sudo fdisk-l
check the fs format of your hardisk is based on like1TB MyHdd on /dev/sda
but we can’t mount it right now , if we mount errors will come outwe need to partition it first:
Sudo fdisk /dev/sda
Note — “ m “ for help(command list)for checking partition table — “P”(Enter P)To partition , enter “n”,then just choose primary by entering “p”.and then enter “1” for only one partition number.
Format the new partitioned HDD(remember fs format of your hdd)
Sudo mkfs.ext4 /dev/sda
Usually drives are mounted in /mnt
Sudo mkdir /mnt/sda
Then we can mount it by :-
Sudo mount /dev/sda /mnt/sda
Whenever we reboot it will automatically mounted.we use nano /etc/fstab
Note — To save this login terminal as a Root.
/dev/sda /mnt/sda ext4 default 0 0
1.Path for hard drive2.destination for the mounted drive3.format type4–6. Kept as default 0 and 0 .
when you are done installing all the apps then set all the settings. Now its time to create a backup of the system .This backup is useful if you accidentally delete any system file or any error occurred in the middle of something.
Note-After creating Backup we will save its files in 2nd Storage drive or external hdd (because i don’t have space in my ssd to permanently saved this backup.but, if you have space in your ssd then don’t follow steps after the step 2.
Step 1. Open TimeShift
Step 2. Create Snapshot
Step 3. Now copy all the backup files in Extenal Hdd/2nd hdd.
Open Terminal As a Root
cp -a /timeShift/snapshots/{your snapshot name}/ /mnt/{Name of your 2nd storage drive}/backup
Note — Backup from this command because without this system can’t give access to us to direct copy. and create compressed version of your backup then you will be able to save in external hdd.
for Restore — Open octopi and search timeShift and then installand copy the whole snapshot to that folderRoot/TimeShift/snapshots/next, the option of restore will appear in Timeshift.
Clean /Var/tmp folder regularly, if it is not cleared regularly ,system will crash(only when var folder have no space left).
Open File Manager and go to Root/var folder, clean the folder according to the need and delete by the option of “Root Actions”.
We will check from terminal that how much space is occupied in Var folder.
df -h
Run Sweeper and Stacer Regularly.
oh-my-Zsh is The best terminal I’ve ever used.
for Zsh we have to pre install these:1.git2.curl3.wget
By Curl
sudo sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
By pacman
pacman -S Zsh
Switching from — zsh to bash and vice versa
exec bash (to bash) exec zsh (to zsh)
Change default shell
chsh -s /bin/zsh
Manual Update — {{ upgrade-oh-my-zsh }} by zsh terminal
Uninstall zsh— {{ uninstall-oh-my-zsh }} by zsh terminal
Plugins (In my System)
plugins=(git archlinux brew command-not-found github npm node ruby ssh-agent sublime sudo terminalapp vscode web-search gem rvm bundler copyfile zsh-syntax-highlighting zsh-autosuggestions )
Theme (In my system)
ZSH_THEME=agnoster
Path (Imp)
.Zshrc file in Home Directory
source $ZSH/oh-my-zsh.sh
Custom Plugins
Add Syntax highlighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
2. Auto Suggestion
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
Run both the codes from your zsh_Terminal
Now, Activate— go to .Zshrc file in home directory .Add:
plugins=( zsh-syntax-highlighting zsh-autosuggestions )
Right click on empty zsh_terminal and click on Edit current profile then click on Appearence.
Color-Scheme & background - Maiafont - Meslo LG S DZ for Powerline
Install- Powerline Fonts
Lists of shells(installed in your system)
cat /etc/shells
Aticles For Zsh
oh-my-zsh
Learned something? Hold down the 👏 to support and help others find this article. Thanks for reading!!Follow me on Instagram @hypnosisss___