Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

Install pkgsrc (FreeBSD) package manager

#
# Copy and paste the lines below to install the Big Sur on Intel set.
#
# These packages are suitable for anyone running Big Sur (11.x) or newer on
# Intel x86 CPUs, and are updated from pkgsrc trunk every few days.
#
BOOTSTRAP_TAR="bootstrap-macos11-trunk-x86_64-20211207.tar.gz"
BOOTSTRAP_SHA="07e323065708223bbac225d556b6aa5921711e0a"

# Download the bootstrap kit to the current directory.
curl -O https://pkgsrc.joyent.com/packages/Darwin/bootstrap/${BOOTSTRAP_TAR}

# Verify the SHA1 checksum.
echo "${BOOTSTRAP_SHA}  ${BOOTSTRAP_TAR}" | shasum -c-

# Verify PGP signature.  This step is optional, and requires gpg.
# curl -O https://pkgsrc.joyent.com/packages/Darwin/bootstrap/${BOOTSTRAP_TAR}.asc
# curl -sS https://pkgsrc.joyent.com/pgp/1F32A9AD.asc | gpg2 --import
# gpg2 --verify ${BOOTSTRAP_TAR}{.asc,}

# Install bootstrap kit to /opt/pkg
sudo tar -zxpf ${BOOTSTRAP_TAR} -C /

# Reload PATH/MANPATH (pkgsrc installs /etc/paths.d/10-pkgsrc for new sessions)
eval $(/usr/libexec/path_helper)
Comment

PREVIOUS NEXT
Code Example
Shell :: nohup server stop in python django 
Shell :: after git merge it want to commit message 
Shell :: linux text shortcut 
Shell :: barryvdh dompdf file_getcontents passing null 
Shell :: choco install fluxcd 
Shell :: unix find files with specific year 
Shell :: bash script help syntax option vs mandatory 
Shell :: rsync limit download 
Shell :: comment installle des salsh commande 
Shell :: heroku rename remote app 
Shell :: wsl start windows program 
Shell :: stop git advice on empty path spec 
Shell :: grub bootloader corrupted fedora 36 
Shell :: Wallpaper kali 
Shell :: spa in github not working 
Shell :: can you speak in linux commands 
Shell :: ghost in the shell stand alone complex book quotes 
Shell :: partial substring comparison bash shell script 
Shell :: how to access external drives from linux chrome os 
Shell :: vscode kite extention uninstall 
Shell :: spacemacs ubuntu 
Shell :: powersheel comand recursive unzip all 
Shell :: how to undo a commit sent that was pushed and keep local changes 
Shell :: weka explorer for ubuntu 
Shell :: Setup docker official repository 
Shell :: windows auto ip address change script 
Shell :: cambiare luminosità schermo ubuntu 
Shell :: pip install fork branch 
Shell :: hack+0000000000000000000000000000000000000000+sha1+master+git 
Shell :: webmin depends on unzip; however: Package unzip is not installed. 
ADD CONTENT
Topic
Content
Source link
Name
4+4 =