2021-06-03 04:59:01 +08:00
|
|
|
<package-info :package="package" instsize showsbu2></package-info>
|
2021-05-31 00:09:40 +08:00
|
|
|
|
|
|
|
<script>
|
|
|
|
new Vue({
|
|
|
|
el: '#main',
|
|
|
|
data: { package: {} },
|
|
|
|
mounted: function () {
|
|
|
|
this.getPackage('nano');
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
getPackage: function(name) {
|
|
|
|
getPackage(name)
|
|
|
|
.then(response => this.package = response);
|
|
|
|
},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
</script>
|
|
|
|
|
|
|
|
## Настройка
|
|
|
|
|
|
|
|
```bash
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--sysconfdir=/etc \
|
2021-05-31 14:11:48 +08:00
|
|
|
--enable-utf8
|
2021-05-31 00:09:40 +08:00
|
|
|
```
|
|
|
|
|
|
|
|
## Сборка
|
|
|
|
|
|
|
|
```bash
|
|
|
|
make
|
|
|
|
```
|
|
|
|
|
|
|
|
## Установка
|
|
|
|
|
|
|
|
```bash
|
|
|
|
make install
|
|
|
|
```
|
|
|
|
|
|
|
|
## Установка документации
|
|
|
|
|
|
|
|
```bash
|
|
|
|
install -v -m644 doc/{nano.html,sample.nanorc} /usr/share/doc/nano
|
|
|
|
```
|