LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-08-2006, 01:55 AM   #1
lloydshanks
LQ Newbie
 
Registered: Aug 2006
Distribution: Mephis
Posts: 26

Rep: Reputation: 15
How does one install Zsh


Initial Warning: I'm a super newbie, so please consider this if you respond. I need lots of hand holding..

I need to install Zsh. I have downloaded it to my desktop of my linux machine. The file name is: zsh-4.2.6.tar.gz

My GUI desktop is that one with the "K" and the gear logo. hahaha please don't laugh..


Where do I install it? Do I install it in root? Or some other directory? Right now it is sitting on my desktop.

Thanks!
 
Old 08-08-2006, 03:01 AM   #2
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
1) Your desktop is KDE - but what distro are you using? If you add this to your profile, then it helps others to help you.

2) The best way to install zsh, is to use your distro's package manager. This is a utility that will download and install the program for you, along with anything else that the program needs in order to run. Most distros have a graphical frontend to do this, look for "Add/Remove Programs" or "Synaptic". I can give you more specific advice when I know what distro you use. When you open that program, search for "zsh" and install it.

3) The file you downloaded is the source code for zsh. To install it, it needs to be compiled. Simply open a terminal, change to your desktop directory "cd Desktop" and unzip the file:
Code:
tar -xzvf zsh-4.2.6.tar.gz
Change to the directory that is created and Then run "./configure" and "make", su to root and run "make install". Make install is a script that installs everything to where it should go. Then you can delete the tarball and the directory that was created.

The best way is using your distros package manager though.

I hope this helps
--Ian
 
Old 08-08-2006, 03:41 AM   #3
lloydshanks
LQ Newbie
 
Registered: Aug 2006
Distribution: Mephis
Posts: 26

Original Poster
Rep: Reputation: 15
Thanks!

My distro is Mephis.
 
Old 08-08-2006, 03:50 AM   #4
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
I think Mepis is based on Debian, so uses the apt package manger. An excellent GUI frontend to apt is synaptic, which should be in your menu.

Alternatively, open a terminal, enter the command "su" and enter root's password. Then run the command
Code:
apt-get install zsh
--Ian
 
Old 08-08-2006, 11:42 PM   #5
lloydshanks
LQ Newbie
 
Registered: Aug 2006
Distribution: Mephis
Posts: 26

Original Poster
Rep: Reputation: 15
ok I have the synaptic package manager. I searched for "zsh" and found it, but there isn't an obvious step to do something next.
 
Old 08-08-2006, 11:45 PM   #6
lloydshanks
LQ Newbie
 
Registered: Aug 2006
Distribution: Mephis
Posts: 26

Original Poster
Rep: Reputation: 15
oh yeah, the .gz file is on my desktop. Do I have to move it into another directory to properly install it?
 
Old 08-08-2006, 11:48 PM   #7
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
Don't worry about the tarball - you can install zsh using synaptic.

To the left of zsh, there is a check box. Click the check box, and click "Mark for Installation". The click "Apply" on the toolbar. Synaptic will download zsh for you, and install it.

--Ian
 
Old 08-09-2006, 12:02 AM   #8
lloydshanks
LQ Newbie
 
Registered: Aug 2006
Distribution: Mephis
Posts: 26

Original Poster
Rep: Reputation: 15
Well let's see here.

Last edited by lloydshanks; 08-11-2006 at 10:49 PM.
 
Old 08-10-2006, 03:28 AM   #9
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
It looks like zsh is not in your Mepis repositories. A repository is a website that contains packages for your distribution. When Synaptic is told about these, it will download packages from a repository and install them. As far as I can find, Zsh is not available in the Mepis repositories.

This means that you are going to have to compile from source. Open a terminal, and change to your Desktop:
Code:
cd Desktop
Extract the zsh tarball:
Code:
tar -xzvf tar -xzvf zsh-4.2.6.tar.gz
This will create a directory - use cd to change into it.

In this directory, run the following commands:
Code:
./configure
Code:
make
Use su to switch to the root user:
Code:
su -
It will prompt you for your root user's password.

Run the following command:
Code:
make install
Hopefully, you should be able to start a zsh by entering
Code:
zsh
at the command line.

If you want to change your default shell from bash to zsh, enter the following command:
Code:
chsh /bin/zsh
I hope this helps
--Ian
 
Old 08-10-2006, 05:55 AM   #10
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
What are you willing to do with zsh?
For your insformation, bash is already installed on your system and can do everything zsh can do.
 
Old 08-11-2006, 10:27 PM   #11
lloydshanks
LQ Newbie
 
Registered: Aug 2006
Distribution: Mephis
Posts: 26

Original Poster
Rep: Reputation: 15
because the person who is going to be using this box prefers Zsh. I could care less.
 
Old 08-11-2006, 10:48 PM   #12
lloydshanks
LQ Newbie
 
Registered: Aug 2006
Distribution: Mephis
Posts: 26

Original Poster
Rep: Reputation: 15
Ian thanks! Your recipe there worked perfectly.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
zsh query stuartmcgeown Linux - Networking 1 05-12-2006 09:06 PM
zsh as root? abrouwers Slackware 7 08-13-2005 04:14 PM
zsh transparency Ops Linux - Software 1 07-08-2004 11:01 AM
ZSH Highlighting chrisk5527 Linux - General 2 02-28-2004 10:23 AM
Zsh rch Linux - General 0 05-22-2003 04:59 AM


All times are GMT -5. The time now is 02:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration