Ubuntu 17.04 не распознает Geforce GTX 950M

Поместите все имена пакетов в файл (одно имя пакета для каждой строки). Затем выполните следующую команду, чтобы автоматически установить указанные пакеты.

while read -r line; do sudo apt-get -y install "$line"; done < /path/to/the/packages/file

Пример:

$ cat file
vlc
firefox
$ while read -r line; do sudo apt-get install "$line"; done < file
[sudo] password for avinash: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
vlc is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 499 not upgraded.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  ttf-lyx
The following packages will be upgraded:
  firefox
1 upgraded, 0 newly installed, 0 to remove and 498 not upgraded.
Need to get 35.8 MB of archives.
After this operation, 24.3 MB of additional disk space will be used.
Get:1 http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ trusty-updates/main firefox amd64 33.0+build2-0ubuntu0.14.04.1 [35.8 MB]
0% [1 firefox 67.0 kB/35.8 MB 0%]                           10.4 kB/s 57min 16s^
1
задан 16 June 2017 в 08:48

0 ответов

Другие вопросы по тегам:

Похожие вопросы: