Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am running Solaris 8 on a SPARC Station 10 (NOT an Ultra). I am attempting to gunzip lynx. I did an FTP get from a sunfreeware.com ftp mirror site. I downloaded it to /tmp. When I attempt to gunzip the lynx-2.8.5-sol8-sparc-local.gz, I get a file with the same name, but no extension. It is not a package, not a directory, and not a binary. I can do nothing with it. I have tried gunzip with different options like -v, -r. I have also tried gzip -d to decompress.
When I issue an ls -la on my /tmp folder, I get this:
-rw-r--r-- 1 root other 2756608 Mar 9 12:30 lynx-2.8.5-sol8-sparc-loca
l
drwxr-xr-x 2 root other 132 Mar 9 11:56 lynx_temp
#
...I get a file with the same name, but no extension. It is not a package, not a directory, and not a binary ...
It is normal; and lynx-2.8.5-sol8-sparc-local is the name of the package
Can you try "pkgadd -d lynx-2.8.5-sol8-sparc-local" in /tmp directory. If it didn't install the package, please post the error message(s) and the output of "file lynx-2.8.5-sol8-sparc-local"
Thanks, Technopark. I will try the pkgadd with the directory option and see what happens.
What did you mean by "and the output of "file lynx-2.8.5-sol8-sparc-local""?
What did you mean by "and the output of "file lynx-2.8.5-sol8-sparc-local""?
file command can be used to find the file type. some examples:
% file /usr/lib/libCstd.so.1
/usr/lib/libCstd.so.1: ELF 32-bit LSB dynamic lib 80386 Version 1, dynamically linked, not stripped, no debugging information available
The pkgadd -d command worked like a charm and now I can surf in gorgeous command line format!
Funny thing, that file was a package without the .pkg extension!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.