Coreutils Complete

Miscellaneous tools
Post Reply
Message
Author
User avatar
Billwho?
Posts: 559
Joined: Tue 06 Dec 2005, 09:28
Location: still "In The Dog House" East Coast Oz
Trialing 4.20

Coreutils Complete

#1 Post by Billwho? »

From time to time I have run scripts I had copied from the forum. Only to find that they used command flags that were not available in the older versions of Puppy.
As a result I have compiled the latest coreutils package that was available at ftp://ftp.gnu.org/pub/gnu/ without stripping anything out. I did however seperate the documentation and localisation parts into their own directories. From there I have created three dotpets.

To avoid conflicts with the coreutils that are already installed in Puppy I have named each command with the suffix -NEW . To use these commands install the dotpet as normal and edit the script that was not working by changing the name of the problem command to command -NEW and then saving your changes.

The commands in this package are:

/usr/bin/chgrp-NEW
/usr/bin/chown-NEW
/usr/bin/chmod-NEW
/usr/bin/cp-NEW
/usr/bin/dd-NEW
/usr/bin/dircolors-NEW
/usr/bin/du-NEW
/usr/bin/install-NEW
/usr/bin/link-NEW
/usr/bin/ln-NEW
/usr/bin/dir-NEW
/usr/bin/vdir-NEW
/usr/bin/ls-NEW
/usr/bin/mkdir-NEW
/usr/bin/mkfifo-NEW
/usr/bin/mknod-NEW
/usr/bin/mv-NEW
/usr/bin/nohup-NEW
/usr/bin/readlink-NEW
/usr/bin/rm-NEW
/usr/bin/rmdir-NEW
/usr/bin/shred-NEW
/usr/bin/stat-NEW
/usr/bin/sync-NEW
/usr/bin/touch-NEW
/usr/bin/unlink-NEW
/usr/bin/cat-NEW
/usr/bin/cksum-NEW
/usr/bin/comm-NEW
/usr/bin/csplit-NEW
/usr/bin/cut-NEW
/usr/bin/expand-NEW
/usr/bin/fmt-NEW
/usr/bin/fold-NEW
/usr/bin/head-NEW
/usr/bin/join-NEW
/usr/bin/md5sum-NEW
/usr/bin/nl-NEW
/usr/bin/od-NEW
/usr/bin/paste-NEW
/usr/bin/pr-NEW
/usr/bin/ptx-NEW
/usr/bin/sha1sum-NEW
/usr/bin/sha224sum-NEW
/usr/bin/sha256sum-NEW
/usr/bin/sha384sum-NEW
/usr/bin/sha512sum-NEW
/usr/bin/shuf-NEW
/usr/bin/sort-NEW
/usr/bin/split-NEW
/usr/bin/sum-NEW
/usr/bin/tac-NEW
/usr/bin/tail-NEW
/usr/bin/tr-NEW
/usr/bin/tsort-NEW
/usr/bin/unexpand-NEW
/usr/bin/uniq-NEW
/usr/bin/wc-NEW
/usr/bin/basename-NEW
/usr/bin/date-NEW
/usr/bin/dirname-NEW
/usr/bin/echo-NEW
/usr/bin/env-NEW
/usr/bin/expr-NEW
/usr/bin/factor-NEW
/usr/bin/false-NEW
/usr/bin/hostname-NEW
/usr/bin/id-NEW
/usr/bin/kill-NEW
/usr/bin/logname-NEW
/usr/bin/pathchk-NEW
/usr/bin/printenv-NEW
/usr/bin/printf-NEW
/usr/bin/pwd-NEW
/usr/bin/seq-NEW
/usr/bin/sleep-NEW
/usr/bin/tee-NEW
/usr/bin/test-NEW
/usr/bin/true-NEW
/usr/bin/tty-NEW
/usr/bin/whoami-NEW
/usr/bin/yes-NEW
/usr/bin/base64-NEW
/usr/bin/uname-NEW
/usr/bin/chroot-NEW
/usr/bin/hostid-NEW
/usr/bin/nice-NEW
/usr/bin/pinky-NEW
/usr/bin/users-NEW
/usr/bin/who-NEW
/usr/bin/uptime-NEW
/usr/bin/stty-NEW
/usr/bin/df-NEW
/usr/bin/groups-NEW
/usr/bin/su-NEW
Linux = Learning through doing :shock: :? :D
The learning curve may be steep but there is a light at the end of the tunnel.
You just have to pass the occasional oncoming train to get there.

User avatar
Spaccafumo
Posts: 33
Joined: Thu 15 Jan 2009, 11:06
Location: Sulmona - Italy

Coreutils

#2 Post by Spaccafumo »

Where must i put the coreutils.mo? In what directory?
No results after insatllation of NSL pet file. Regards.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#3 Post by musher0 »

Hi, "billwho?".

Thanks for this and I appreciate the methodology, I mean adding "-NEW" to avoid crushing the utilities that Puppy already has, and dividing your offer in three pets.

I couldn't help but noticing, however, that you are offering v. 8.6, whereas the current gnu coreutils are at v. 8.20. Please see ftp://ftp.gnu.org/gnu/coreutils/coreutils-8.20.tar.xz. Or are these gnu coreutils something entirely different?

Thanks in advance for your answer and best regards.

musher0
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

Re: Coreutils

#4 Post by L18L »

Spaccafumo wrote:Where must i put the coreutils.mo? In what directory?
No results after insatllation of NSL pet file. Regards.
The location of the Italian coreutils.mo should be in directory
/usr/share/locale/it/LC_MESSAGES :)

You can try attached for version 8.20
Attachments
coreutils_mo_for_it.tar.gz
1360 messages
(84.93 KiB) Downloaded 485 times

User avatar
Spaccafumo
Posts: 33
Joined: Thu 15 Jan 2009, 11:06
Location: Sulmona - Italy

Compiling coreutils from source code.

#5 Post by Spaccafumo »

FIRST: add this line in /etc/profile:
export FORCE_UNSAFE_CONFIGURE=1
------------------------------------------------------------------
SECOND: reboot
------------------------------------------------------------------
THIRD: ./configure and make
------------------------------------------------------------------
NO "make install" but a backup of the "src" directory which contains all the executables. Just copy them in /usr/local/bin
when you need.
------------------------------------------------------------------
As Easter mini-egg:i upload "fmt".
Regards.
Attachments
fmt.gz
Copy it in /usr/local/bin
(19.58 KiB) Downloaded 241 times
Qui si usa Linux
http://www.puppylinux.org
Sulmona - Italy

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#6 Post by amigo »

You don't need to export or reboot, Just run the config command like this:
FORCE_UNSAFE_CONFIGURE=1 ./configure

Post Reply