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 have just recently installed Solaris 10 x86 on my Latitude c600 notebook. I will try to make it and use it as a desktop pc. So that all the problems i would face in the process will help me learn solaris.
After the install, the first thing i did was install oss driver. Now i would like to install packages from blastwave. I followed blastwave's instructions on how to install pkg-get and wget. I did that and after that i faced some problems and i have some questions too.
1) Blastwave instructions talked about setting some path and exporting so that when we do 'which wget' and 'which pkg-get' they show up in the way of the shell. After a system reboot, the path we exported for wget and pkg-get gets out of the way. Which meant i had to do the exporting path thing again. Since this is a notebook intended to be a Desktop OS, i dont want to keep doing it again and again (the next time when i start my notebook). What is the command so that the exporting path thing is permanent?
2) I dont have a broadband net connection at home currently and at work i have access to high speed baseband internet. But i cannot connect my personal notebook to the company's network due to security reasons. I was planning to download all the 1,400+ packages to my usb external harddisk, and then use that at home.
My question is how can i use pkg-get to look for all the packages on a usb external harddisk(or on a remote computer as a shared folder containing all the packages)? i want to use pkg-get instead of manually using pkgadd so that all the dependencies are also covered.
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
Wow, reviving an almost 2 years old thread !
1) You can set root's PATH in /etc/default/login and /etc/default/su (variable SUPATH to uncomment and modify)
eg.
SUPATH=/usr/sbin:/usr/bin:/opt/csw/bin
2) you can use the undocumented PKGGET_CACHE_FILES variable to ask pkg-get to keep the downloaded packages, they will stay in /var/pkg-get/downloads (unless you change this too with another undocument variable PKGGET_DOWNLOAD_DIR).
Just set PKGGET_CACHE_FILES to anything and export it before running pkg-get, eg.
Code:
export PKGGET_CACHE_FILES=true
pkg-get ...
If you wan't a copy of the whole stuff, the best way is to create your own Blastwave's mirror using rsync.
Look for "rsync servers" in http://www.blastwave.org/mirrors.php
I followed your step 1, its working thanks. I've no clue about the step 2 you described (plz forgive me i'm still a newbie for unix\linux). Regarding "rsync" thing, if i can connect my solaris notebook at work, then i'll be all set, because during my night shifts i would bring in my notebook to access corporate's internet access. If not then i dont know how i can access blastwave's rsync server from windows machine at my work.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.