Saya mencoba menginstal utilitas paralel GNU pada ubuntu lokal saya 14.04. Saya mengunduh file tar dari sini, masukkan deskripsi tautan di sini
Versi ini adalah parallel-20140622.tar.bz2
Ini diunduh ke folder Unduhan saya dan kemudian saya membuka terminal dan kemudian mengubah direktori saya menjadi Unduhan dan kemudian digunakan
tar -xjf parallel-20140622.tar.bz2 ; cd parallel-20140622; ./configure ; make;make install
Tapi itu memberi saya kesalahan ini:
varun@varun-OptiPlex-760:~/Downloads/parallel-20140622$ make
make all-recursive
make[1]: Entering directory `/home/varun/Downloads/parallel-20140622'
Making all in src
make[2]: Entering directory `/home/varun/Downloads/parallel-20140622/src'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/varun/Downloads/parallel-20140622/src'
make[2]: Entering directory `/home/varun/Downloads/parallel-20140622'
make[2]: Leaving directory `/home/varun/Downloads/parallel-20140622'
make[1]: Leaving directory `/home/varun/Downloads/parallel-20140622'
varun@varun-OptiPlex-760:~/Downloads/parallel-20140622$ make install
Making install in src
make[1]: Entering directory `/home/varun/Downloads/parallel-20140622/src'
make[2]: Entering directory `/home/varun/Downloads/parallel-20140622/src'
/bin/mkdir -p '/usr/local/bin'
/usr/bin/install -c parallel sem sql niceload '/usr/local/bin'
/usr/bin/install: cannot create regular file ‘/usr/local/bin/parallel’: Permission denied
/usr/bin/install: cannot create regular file ‘/usr/local/bin/sem’: Permission denied
/usr/bin/install: cannot create regular file ‘/usr/local/bin/sql’: Permission denied
/usr/bin/install: cannot create regular file ‘/usr/local/bin/niceload’: Permission denied
make[2]: *** [install-binSCRIPTS] Error 1
make[2]: Leaving directory `/home/varun/Downloads/parallel-20140622/src'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/varun/Downloads/parallel-20140622/src'
make: *** [install-recursive] Error 1
Bagaimana cara memperbaikinya?
Terima kasih
Anda harus dapat menginstalnya menggunakan apt-get. Per " Di mana saya mendapatkan paket untuk GNU Parallel? ":
Namun, dalam kasus spesifik Anda, Anda ingin menjalankan
sudo make install
alih-alih adilmake install
. Atau, Anda harus menentukan direktori root baru untuk skrip konfigurasi Anda.sumber