V
5  
Tags
Attachments
RazmjenaVjestina
BuDPitanjeUbuntuCoreutilsGentooPatch

Coreutils na Ubuntu sa Gentoo patch-om

Ako neznate sto je Coreutils, to je skup osnovnih komandi koje koristite u vašem omiljenom shell-u. To su komande tipa cp, ls, mv... E sad zašto taj update coreutilsa na Ubuntu? E pa zato što taj coreutils ne sadrzi jednu opciju u komandi cp koja je jako korisna i interesantna.

copy.jpg

Kako to napraviti:

1. Skinete coreutils verziju 5.3.0 ftp://alpha.gnu.org/gnu/coreutils/coreutils-5.3.0.tar.bz2 ovdje

2. otpakirate je na bilo koje mjesto(najbolje u vaš home direktorij) sa komandom tar xvjf coreutils-5.3.0.tar.bz2

3. skinete gentoo patch za coreutils ovdje

4. skopirate ga u direktorij gdje ste otpakirali coreutils (koji se zove coreutils-5.3.0)

5. dok se nalazite u direktoriju od coreutilsa patchate coreutils sa patch -p1 < 001_all_coreutils-gen-progress-bar.patch

6. to ne traje dugo, i ako je sve dobro proslo moralo bi vam negdje pisati Hunk suceeded

7. dok se jos nalazite u direktoriju coreutilsa ulogirate se kao root sa sudo su

8. zatim krenete kompajlirati coreutils sa ./configure --prefix/opt/coreutils && make && make install

9. kad je gotovo, editirate vas .bashrc ili koji vec shell koristite sa vim .bashrc stisnete i i na kraju fajla dodate alias cp='/opt/coreutils/bin/cp -vg' , stisnete tipku ESC, i onda napišete :wq

10. napišete source .bashrc i uživate u novoj komandi cp

      • BuD, 13/11/05

original Jul 3 2:16am


 

Upload Files

Click "Browse" to find the file you want to upload. When you click "Upload file" your file will be uploaded and added to the list of attachments for this page.

Maximum file size: 50MB

 
 
 
File Name Author Date Uploaded Size

Save Page As

Enter a meaningful and distinctive title for your page.

Page Title:

Tip: You'll be able to find this page later by using the title you choose.

Page Already Exists

There is already a page named XXX. Would you like to:

Save with a different name:

Save the page with the name "XXX"

Append your text to the bottom of the existing page named: "XXX"

Upload Files

Click "Browse" to find the file you want to upload. When you click "Add file" this file will be added to the list of attachments for this page, and uploaded when you save the page.

 
 
 
Add Tags

Enter a tag and click "Add tag". The tag will be saved when you save the page.

Tag: 

Suggestions: