Все элементарно и просто. Записал, чтобы в следующий раз (и не раз) не вспоминать названия пакетов.
Будем считать это заготовкой для bash скрипта.
Чуть не забыл про Bower,
Sass techniques and tools Compass is often used with Sass -- and suggested below -- because it can automatically compile your Sass using the compass watch command. For more information, see the Compass documentation.
SASS Frameworks and Resources Why Use SASS:Advantages Over Regular CSS
How To Install Node.js on an Ubuntu 14.04 server
Начнем с ruby¶
kiss@kiss-VirtualBox ~ $ apt-get install ruby
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
kiss@kiss-VirtualBox ~ $ sudo apt-get install ruby
[sudo] password for kiss:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libruby1.9.1 libyaml-0-2 ruby1.9.1
Suggested packages:
ri ruby-dev ruby1.9.1-examples ri1.9.1 graphviz ruby1.9.1-dev ruby-switch
The following NEW packages will be installed:
libruby1.9.1 libyaml-0-2 ruby ruby1.9.1
0 upgraded, 4 newly installed, 0 to remove and 9 not upgraded.
2 not fully installed or removed.
Need to get 2 734 kB of archives.
After this operation, 12,9 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ru.archive.ubuntu.com/ubuntu/ trusty-updates/main libyaml-0-2 amd64 0.1.4-3ubuntu3.1 [48,1 kB]
Get:2 http://ru.archive.ubuntu.com/ubuntu/ trusty/main ruby all 1:1.9.3.4 [5 334 B]
Get:3 http://ru.archive.ubuntu.com/ubuntu/ trusty-updates/main ruby1.9.1 amd64 1.9.3.484-2ubuntu1.2 [35,6 kB]
Get:4 http://ru.archive.ubuntu.com/ubuntu/ trusty-updates/main libruby1.9.1 amd64 1.9.3.484-2ubuntu1.2 [2 645 kB]
Fetched 2 734 kB in 1s (2 467 kB/s)
Selecting previously unselected package libyaml-0-2:amd64.
(Reading database ... 216694 files and directories currently installed.)
Preparing to unpack .../libyaml-0-2_0.1.4-3ubuntu3.1_amd64.deb ...
Unpacking libyaml-0-2:amd64 (0.1.4-3ubuntu3.1) ...
Selecting previously unselected package ruby.
Preparing to unpack .../ruby_1%3a1.9.3.4_all.deb ...
Unpacking ruby (1:1.9.3.4) ...
Selecting previously unselected package ruby1.9.1.
Preparing to unpack .../ruby1.9.1_1.9.3.484-2ubuntu1.2_amd64.deb ...
Unpacking ruby1.9.1 (1.9.3.484-2ubuntu1.2) ...
Selecting previously unselected package libruby1.9.1.
Preparing to unpack .../libruby1.9.1_1.9.3.484-2ubuntu1.2_amd64.deb ...
Unpacking libruby1.9.1 (1.9.3.484-2ubuntu1.2) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up libapache2-mpm-itk (2.4.6-01-1) ...
dpkg: error processing package libapache2-mpm-itk (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of apache2-mpm-itk:No apport report written because the error message indicates its a followup error from a previous failure.
apache2-mpm-itk depends on libapache2-mpm-itk; however:
Package libapache2-mpm-itk is not configured yet.
dpkg: error processing package apache2-mpm-itk (--configure):
dependency problems - leaving unconfigured
Setting up libyaml-0-2:amd64 (0.1.4-3ubuntu3.1) ...
Setting up ruby (1:1.9.3.4) ...
Setting up ruby1.9.1 (1.9.3.484-2ubuntu1.2) ...
Setting up libruby1.9.1 (1.9.3.484-2ubuntu1.2) ...
Processing triggers for libc-bin (2.19-0ubuntu6.7) ...
Errors were encountered while processing:
libapache2-mpm-itk
apache2-mpm-itk
E: Sub-process /usr/bin/dpkg returned an error code (1)
kiss@kiss-VirtualBox ~ $ sudo gem install sass
Fetching: sass-3.4.22.gem (100%)
Successfully installed sass-3.4.22
1 gem installed
Installing ri documentation for sass-3.4.22...
Installing RDoc documentation for sass-3.4.22...
kiss@kiss-VirtualBox ~ $
kiss@kiss-VirtualBox ~ $ sudo gem install compass
Fetching: multi_json-1.11.2.gem (100%)
Fetching: compass-core-1.0.3.gem (100%)
Fetching: compass-import-once-1.0.5.gem (100%)
Fetching: chunky_png-1.3.5.gem (100%)
Fetching: rb-fsevent-0.9.7.gem (100%)
Fetching: ffi-1.9.10.gem (100%)
Building native extensions. This could take a while...
ERROR: Error installing compass:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.9.1 extconf.rb
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- mkmf (LoadError)
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from extconf.rb:4:in `<main>'
Gem files will remain installed in /var/lib/gems/1.9.1/gems/ffi-1.9.10 for inspection.
Results logged to /var/lib/gems/1.9.1/gems/ffi-1.9.10/ext/ffi_c/gem_make.out
kiss@kiss-VirtualBox ~ $
Установка Node.js¶
sudo apt-get update
sudo apt-get install nodejs
sudo apt-get install npm
При установке менеджера пакетов (npm) ввод в консоль был слишком многострочным, потому копирую только надоевшую ошибку (уже не помню, в каом мануале она выскочила, но там же была признана безобидной).
...
...
Setting up node-slide (1.1.4-1) ...
Setting up npm (1.3.10~dfsg-1) ...
Errors were encountered while processing:
libapache2-mpm-itk
apache2-mpm-itk
E: Sub-process /usr/bin/dpkg returned an error code (1)
kiss@kiss-VirtualBox ~ $ ^C
kiss@kiss-VirtualBox ~ $
Пора собрать силы, отуглить и исправить..., уже становится стыдно ...
И нужно будет установить Bower, куда же без него¶
Вот так я его установил ранее на windows, полагаю, что разницы нет
F:\stradorusite\bootstrap\atom_with_bootsrap\bootstrap-3.3.6>npm install -g bower
C:\Users\alter_000\AppData\Roaming\npm\bower -> C:\Users\alter_000\AppData\Roaming\npm\node_modules\bower\bin\bower
C:\Users\alter_000\AppData\Roaming\npm
`-- bower@1.7.9
Посты чуть ниже также могут вас заинтересовать
Комментариев нет:
Отправить комментарий