LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 03-24-2010, 04:58 PM   #1
vtn
LQ Newbie
 
Registered: Aug 2009
Location: Alpharetta, GA, USA
Distribution: Ubuntu
Posts: 9

Rep: Reputation: 1
Ubuntu commnad for installing 'tr '


I need to use tr command in my bash script and since it is not found in my linux distribution I tried to install it by using the following command:
sudo apt-get install tr

and it spitted out the following error message:
E: Couldn't find package tr

can someone let me know what is the command I need to use in Ubuntu linux to install tr and get it working.

Thanks.
 
Old 03-24-2010, 05:10 PM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
tr is provided by coreutils but I doubt it is not already installed, since it provides most of the basic commands. Try
Code:
whereis tr
to have a clue about what's going on.
 
  


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
backup commnad ust Linux - Newbie 1 03-19-2009 04:25 AM
commnad time execution caprianking2002 Linux - General 2 06-27-2006 04:01 AM
help me to write wget commnad in .bash_profile squirrel001 Linux - Newbie 3 06-20-2006 05:37 AM
source code of fdisk commnad arunka Programming 1 03-05-2006 11:10 PM
locate a commnad zchoyt Linux - Software 7 04-14-2005 03:18 PM


All times are GMT -5. The time now is 08:23 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