من همهی ویرایشگر های مخازن دبیانو شخم زدم و از ویم راحت تر و بهتر پیدا نکردم.خب این ویم رو چطور نصب کنم؟
چون در حال آموزشم حستم اصلا ویمو شخصی سازی نمیکنم و فقط به آموزشم میپردازم.
بجزء ویم, kate
ولی آخرش بازگشت همه به سویه اوست.
سلام
بغیر از ویم نرم افزاری که به صورت گرافیکی باشه و بتونم برای برنامه نوپیسی استفاده کنم معرفی کنید... دوستان گفتن در مخزن دبیان نرم افزار ویژوال استادیو وجود نداره
sudo apt install vim-gtk3
سلامسلام
بغیر از ویم نرم افزاری که به صورت گرافیکی باشه و بتونم برای برنامه نوپیسی استفاده کنم معرفی کنید... دوستان گفتن در مخزن دبیان نرم افزار ویژوال استادیو وجود نداره
درود
برای ویرایشگر متن همونطور که دوستان گفتند vim یک انتخاب مناسب است. خود vim قابلیتهای گرافیکی نیز دارد.https://wiki.ubuntu-ir.org/wiki/%D9%88%DB%8C%D9%85
بستهٔ vim-gtk3 را برای بهرهمندی از قابلیتهای گرافیکی نصب کنید.کد: [انتخاب]sudo apt install vim-gtk3
اگر جایگزینهای دیگری میخواهید Geany یکی از بهترینهاست.https://wiki.ubuntu-ir.org/wiki/Geany
sudo apt install vim-gtk3
[sudo] password for info:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package vim-gtk3 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'vim-gtk3' has no installation candidate
echo "X-Repolib-Name: Debian System Sources
Enabled: yes
Types: deb deb-src
URIs: https://deb.debian.org/debian/ https://mirrors.pardisco.co/debian/
# Suites: trixie trixie-updates trixie-proposed-updates trixie-backports
Suites: bookworm bookworm-updates bookworm-proposed-updates bookworm-backports
Components: main contrib non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
X-Repolib-Default-Mirror: https://deb.debian.org/debian/
PDiffs: yes
Languages: fa en
X-Repolib-Name: Debian Security Sources
Enabled: yes
Types: deb deb-src
URIs: https://security.debian.org/debian-security/
Suites: bookworm-security
Components: main contrib non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
" > sudo tee /etc/apt/sources.list.d/debian.sources
sudo mv /etc/apt/sources.list{,.bk}
sudo apt update
از ارسال پیشین شما اینطور به نظر میرسه که تنظیم مخازن برای دبیان پایدار به درستی انجام نشده به همین خاطر نمیتونید از مخازن برنامه نصب کنید.میفرمایید که دونه به دونه خظ های زیر رو به صورت تک تک توی ترمینال وارد کنم؟
برای تنظیم مخازن به این شکل عمل کنید.
فرمانهای زیر را اجرا کنید و سپس خروجی آخرین فرمان را قرار دهید.کد: [انتخاب]echo "X-Repolib-Name: Debian System Sources
Enabled: yes
Types: deb deb-src
URIs: https://deb.debian.org/debian/ https://mirrors.pardisco.co/debian/
# Suites: trixie trixie-updates trixie-proposed-updates trixie-backports
Suites: bookworm bookworm-updates bookworm-proposed-updates bookworm-backports
Components: main contrib non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
X-Repolib-Default-Mirror: https://deb.debian.org/debian/
PDiffs: yes
Languages: fa en
X-Repolib-Name: Debian Security Sources
Enabled: yes
Types: deb deb-src
URIs: https://security.debian.org/debian-security/
Suites: bookworm-security
Components: main contrib non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
" > sudo tee /etc/apt/sources.list.d/debian.sourcesکد: [انتخاب]sudo mv /etc/apt/sources.list{,.bk}
sudo apt update
echo "X-Repolib-Name: Debian System Sources
Enabled: yes
Types: deb deb-src
URIs: https://deb.debian.org/debian/ https://mirrors.pardisco.co/debian/
# Suites: trixie trixie-updates trixie-proposed-updates trixie-backports
Suites: bookworm bookworm-updates bookworm-proposed-updates bookworm-backports
Components: main contrib non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
X-Repolib-Default-Mirror: https://deb.debian.org/debian/
PDiffs: yes
Languages: fa en
X-Repolib-Name: Debian Security Sources
Enabled: yes
Types: deb deb-src
URIs: https://security.debian.org/debian-security/
Suites: bookworm-security
Components: main contrib non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
" > sudo tee /etc/apt/sources.list.d/debian.sources
میفرمایید که دونه به دونه خظ های زیر رو به صورت تک تک توی ترمینال وارد کنم؟
نه این یک بلوک، تنها یک دستور هست به صورت کامل کپی و اجرا کنید (همش یک فرمان است) من سعی کردم یک مرحلهای کنم که اجرای آن برایتان ساده باشد.انجام دادم:
sudo apt update
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
sudo apt install vim
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package vim is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'vim' has no installation candidate
cat /etc/apt/sources.list*
cat /etc/apt/sources.list.d/*
به نظر اون دستور mv را بعدش اجرا نکردید.
اگر چنین نیست خروجی این دو فرمان را ارسال کنید.کد: [انتخاب]cat /etc/apt/sources.list*
cat /etc/apt/sources.list.d/*
mv: cannot stat '/etc/apt/sources.list': No such file or directory
cat /etc/apt/sources.list*
cat: /etc/apt/sources.list.d: Is a directory
deb https://mirror.arvancloud.ir/debian stable-updates main
non-free-firmware deb cdrom:[Official Debian GNU/Linux Live 12.9.0 gnome
2025-01-11T10:25:55Z]/ bookworm main non-free-firmware deb-src
https://mirror.arvancloud.ir/debian stable-updates main
non-free-firmware deb https://mirror.arvancloud.ir/debian-security
stable-security main non-free-firmware deb-src
https://mirror.arvancloud.ir/debian-security stable-security main
non-free-firmware
deb https://mirror.arvancloud.ir/debian stable main non-free-firmware
deb-src https://mirror.arvancloud.ir/debian stable main non-free-firmware
deb https://mirror.arvancloud.ir/debian stable-updates main non-free-firmware
deb-src https://mirror.arvancloud.ir/debian stable-updates main non-free-firmware
deb https://mirror.arvancloud.ir/debian-security stable-security main non-free-firmware
deb-src https://mirror.arvancloud.ir/debian-security stable-security main non-free-firmware
cat /etc/apt/sources.list.d/*
cat: '/etc/apt/sources.list.d/*': No such file or directory
کار های گفته شده در فرستهی زیر را انجام ندادیدعینا دستورات رو اجرا کردم ولی باز ویم نصب نمیشه:
https://forum.ubuntu-ir.org/index.php?topic=158186.msg1249163#msg1249163
اولی رو با ctrl + shift + v جاگذاری و اجرا کنید. بعدی ها رو خط به خط اجرا کنید، یعنی برای هر خط یک با اجرا
sudo mv /etc/apt/sources.list{,.bk}
[sudo] password for info:
پسورد رو زدم و هیچ خطایی نداد
sudo apt update
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
sudo apt install vim
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package vim is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'vim' has no installation candidate
cat /etc/apt/sources.list*
cat /etc/apt/sources.list.d/*
خروجی های زیرچقدر عجیبه... دستور قبلی که میزنم اینو نشون میده:کد: [انتخاب]cat /etc/apt/sources.list*
cat /etc/apt/sources.list.d/*
sudo mv /etc/apt/sources.list{,.bk}
mv: cannot stat '/etc/apt/sources.list': No such file or directory
cat /etc/apt/sources.list*
deb https://mirror.arvancloud.ir/debian stable main non-free-firmware
deb-src https://mirror.arvancloud.ir/debian stable main non-free-firmware
deb https://mirror.arvancloud.ir/debian stable-updates main non-free-firmware
deb-src https://mirror.arvancloud.ir/debian stable-updates main non-free-firmware
deb https://mirror.arvancloud.ir/debian-security stable-security main non-free-firmware
deb-src https://mirror.arvancloud.ir/debian-security stable-security main non-free-firmware
cat: /etc/apt/sources.list.d: Is a directory
deb https://mirror.arvancloud.ir/debian stable-updates main
non-free-firmware deb cdrom:[Official Debian GNU/Linux Live 12.9.0 gnome
2025-01-11T10:25:55Z]/ bookworm main non-free-firmware deb-src
https://mirror.arvancloud.ir/debian stable-updates main
non-free-firmware deb https://mirror.arvancloud.ir/debian-security
stable-security main non-free-firmware deb-src
https://mirror.arvancloud.ir/debian-security stable-security main
non-free-firmware
deb https://mirror.arvancloud.ir/debian stable main non-free-firmware
deb-src https://mirror.arvancloud.ir/debian stable main non-free-firmware
deb https://mirror.arvancloud.ir/debian stable-updates main non-free-firmware
deb-src https://mirror.arvancloud.ir/debian stable-updates main non-free-firmware
deb https://mirror.arvancloud.ir/debian-security stable-security main non-free-firmware
deb-src https://mirror.arvancloud.ir/debian-security stable-security main non-free-firmware
cat: '/etc/apt/sources.list.d/*': No such file or directory
sudo rm /etc/apt/sources.list*
sudo rm /etc/apt/sources.list.d/*
sudo nano /etc/apt/sources.list
deb https://mirror.arvancloud.ir/debian stable main non-free-firmware
deb-src https://mirror.arvancloud.ir/debian stable main non-free-firmware
deb https://mirror.arvancloud.ir/debian stable-updates main non-free-firmware
deb-src https://mirror.arvancloud.ir/debian stable-updates main non-free-firmware
deb https://mirror.arvancloud.ir/debian-security stable-security main non-free-firmware
deb-src https://mirror.arvancloud.ir/debian-security stable-security main non-free-firmware
sudo apt update; sudo apt upgrade; sudo apt install vim
بیخیال بزنیدکد: [انتخاب]sudo rm /etc/apt/sources.list*
sudo rm /etc/apt/sources.list.d/*
بعد بزنیدکد: [انتخاب]sudo nano /etc/apt/sources.list
بعد متن زیر را با ctrl + shift + v جاگذاری کنیدکد: [انتخاب]deb https://mirror.arvancloud.ir/debian stable main non-free-firmware
deb-src https://mirror.arvancloud.ir/debian stable main non-free-firmware
deb https://mirror.arvancloud.ir/debian stable-updates main non-free-firmware
deb-src https://mirror.arvancloud.ir/debian stable-updates main non-free-firmware
deb https://mirror.arvancloud.ir/debian-security stable-security main non-free-firmware
deb-src https://mirror.arvancloud.ir/debian-security stable-security main non-free-firmware
و بعدش دکمه های زیر را به ترتیب بزنید
ctrl + x
enter
y
بعدش هم خروجی دستورات زیر را بذاریدکد: [انتخاب]sudo apt update; sudo apt upgrade; sudo apt install vim
sudo rm /etc/apt/sources.list*
[sudo] password for info:
rm: cannot remove '/etc/apt/sources.list.d': Is a directory
sudo rm /etc/apt/sources.list.d/*
rm: cannot remove '/etc/apt/sources.list.d/*': No such file or directory
مشکلی نیست. بقیه رو اداده بدید.فکر میکنم مشکل از آروان کلاد باشه:
sudo apt update
Ign:1 https://mirror.arvancloud.ir/debian stable InRelease
Ign:2 https://mirror.arvancloud.ir/debian stable-updates InRelease
Ign:3 https://mirror.arvancloud.ir/debian-security stable-security InRelease
Err:4 https://mirror.arvancloud.ir/debian stable Release
404 Not Found [IP: 185.143.233.120 443]
Err:5 https://mirror.arvancloud.ir/debian stable-updates Release
404 Not Found [IP: 185.143.233.120 443]
Err:6 https://mirror.arvancloud.ir/debian-security stable-security Release
404 Not Found [IP: 185.143.234.120 443]
Reading package lists... Done
E: The repository 'https://mirror.arvancloud.ir/debian stable Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'https://mirror.arvancloud.ir/debian stable-updates Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'https://mirror.arvancloud.ir/debian-security stable-security Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
fwupd fwupd-amd64-signed gnome-software-common jq libflashrom1 libftdi1-2
libfwupd2 libgcab-1.0-0 libjaylink0 libjcat1 libjq1 libonig5 libprotobuf-c1
libsmbios-c2
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
udo apt install vim
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package vim is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'vim' has no installation candidate
sudo nano /etc/apt/sources.list
deb https://deb.debian.org/debian bookworm main non-free non-free-firmware
deb-src https://deb.debian.org/debian bookworm main non-free non-free-firmware
deb https://security.debian.org/debian-security bookworm-security main non-free non-free-firmware
deb-src https://security.debian.org/debian-security bookworm-security main non-free non-free-firmware
deb https://deb.debian.org/debian bookworm-updates main non-free non-free-firmware
deb-src https://deb.debian.org/debian bookworm-updates main non-free non-free-firmware
sudo apt update; sudo apt upgrade; sudo apt install vim
خب پس بزنیداجرای دستور آپگیرید نزدیک نیم ساعت زمان برد... الان ویم رو نصب کردم ولی گرافیکیش رو که نصب میکنم باز خطا میده:کد: [انتخاب]sudo nano /etc/apt/sources.list
بعد تمام متن های مجودو حذف کنید و متن زیر را جاگذاری کنیدکد: [انتخاب]deb https://deb.debian.org/debian bookworm main non-free non-free-firmware
deb-src https://deb.debian.org/debian bookworm main non-free non-free-firmware
deb https://security.debian.org/debian-security bookworm-security main non-free non-free-firmware
deb-src https://security.debian.org/debian-security bookworm-security main non-free non-free-firmware
deb https://deb.debian.org/debian bookworm-updates main non-free non-free-firmware
deb-src https://deb.debian.org/debian bookworm-updates main non-free non-free-firmware
بعد دکمه های زیر را بزنید
ctrl + x
enter
y
بعد خروجی دستور زیر را بزنید.کد: [انتخاب]sudo apt update; sudo apt upgrade; sudo apt install vim
sudo apt update
[sudo] password for info:
Hit:1 https://deb.debian.org/debian bookworm InRelease
Hit:2 https://deb.debian.org/debian bookworm-updates InRelease
Get:3 https://security.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Fetched 48.0 kB in 1s (32.3 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
fwupd fwupd-amd64-signed gnome-software-common jq libflashrom1 libftdi1-2
libfwupd2 libgcab-1.0-0 libjaylink0 libjcat1 libjq1 libonig5 libprotobuf-c1
libsmbios-c2
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
sudo apt install vim
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
vim is already the newest version (2:9.0.1378-2+deb12u2).
The following packages were automatically installed and are no longer required:
fwupd fwupd-amd64-signed gnome-software-common jq libflashrom1 libftdi1-2
libfwupd2 libgcab-1.0-0 libjaylink0 libjcat1 libjq1 libonig5 libprotobuf-c1
libsmbios-c2
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
sudo apt install gvim
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package gvim is a virtual package provided by:
vim-motif 2:9.0.1378-2+deb12u2 (= 2:9.0.1378-2+deb12u2)
vim-gtk3 2:9.0.1378-2+deb12u2 (= 2:9.0.1378-2+deb12u2)
You should explicitly select one to install.
E: Package 'gvim' has no installation candidate
خطا نداده. بستهای به اسم gvim وجود نداره.دمت گرم داداش... مشکلات حل شد.... من دبیان رو از سایت خودش دانلود و نصب کرده بودم... علت این همه خطاها چی بود؟
vim-gtk3 را نصب کنید