Linux Mint Türkiye
Yazılım => Yazılım Genel => Uygulama Geliştirme => Konuyu başlatan: osmanozdemir03 - 21 Nisan 2016, 01:20:19
-
Mono Develop programıyla sua programını Fatih Bölük centos ta çalıştırmış. Linux Mint'te nasıl çalıştırabilirim?
Arkadaşın yazdığı makale
https://docs.google.com/document/d/1EmRUwNXCPT3rKdV3OD2SaT8n_k3RLQ8N9vT5-5v_R84/edit?hl=tr&forcehl=1
-
Centos ile temel komut farklılıkları vardır ancak mantık aynıdır, GPG anahtarı girilir, repo eklenir. uygulama kurulur.
Ubuntu ve Mint tarafında
rpm --import repo-adresi
yerine, örneğin
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv <anahtar>
şeklinde girilir.
yum-config-manager --add-repo
yerine ;
sudo add-apt-repository 'deb http://packages.linuxmint.com/ rosa main'
gibi ;
yum repolist
yerine
sudo apt-get update
ile paket depoları güncelleyip
yum install paket
yerine
sudo apt-get install paket
komutunu kullanırsınız, örneğin ;
sudo apt-get install install mono mono-devel mono-complete referenceassemblies-pcl ca-certificates-mono
-
Cevap için teşekkürler
Ben
#~mono /home/jacob/SUA/SUA.exe
komutunun mint te değişip değişmediğini bilmiyorum.
Değişikse karşılığının nedir?
Mintte bir türlü çalıştıramadım.
-
Komut değişir tabii ki, komutun taslağı aşağıda şekilde olacak.
mono /SUA.exe/dosyasının/bulunduğu/adres/
Mesela SUA.exe dosyası masaüstünde olsun, bu durumda komutu aşağıdaki şekilde düzenlemelisiniz (kullanıcı_adı kısmına kendi kullanıcı adınızı yazmalısınız).
mono /home/kullanıcı_adı/Masaüstü/SUA.exe
-
Komutu verdiğimde aşağıdaki hatayı aldım.
Unhandled Exception:
System.Security.SecurityException: No access to the given key ---> System.UnauthorizedAccessException: Access to the path "/etc/mono/registry" is denied.
at System.IO.Directory.CreateDirectoriesInternal (System.String path) [0x00000] in <filename unknown>:0
at System.IO.Directory.CreateDirectory (System.String path) [0x00000] in <filename unknown>:0
at System.IO.DirectoryInfo.Create () [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.DirectoryInfo:Create ()
at System.IO.Directory.CreateDirectoriesInternal (System.String path) [0x00000] in <filename unknown>:0
at System.IO.Directory.CreateDirectory (System.String path) [0x00000] in <filename unknown>:0
at Microsoft.Win32.KeyHandler..ctor (Microsoft.Win32.RegistryKey rkey, System.String basedir, Boolean is_volatile) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at Microsoft.Win32.KeyHandler..ctor (Microsoft.Win32.RegistryKey rkey, System.String basedir, Boolean is_volatile) [0x00000] in <filename unknown>:0
at Microsoft.Win32.KeyHandler..ctor (Microsoft.Win32.RegistryKey rkey, System.String basedir) [0x00000] in <filename unknown>:0
at Microsoft.Win32.KeyHandler.Lookup (Microsoft.Win32.RegistryKey rkey, Boolean createNonExisting) [0x00000] in <filename unknown>:0
at Microsoft.Win32.UnixRegistryApi.GetSubKeyNames (Microsoft.Win32.RegistryKey rkey) [0x00000] in <filename unknown>:0
at Microsoft.Win32.RegistryKey.GetSubKeyNames () [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) Microsoft.Win32.RegistryKey:GetSubKeyNames ()
at SUA.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
FATAL UNHANDLED EXCEPTION: System.Security.SecurityException: No access to the given key ---> System.UnauthorizedAccessException: Access to the path "/etc/mono/registry" is denied.
at System.IO.Directory.CreateDirectoriesInternal (System.String path) [0x00000] in <filename unknown>:0
at System.IO.Directory.CreateDirectory (System.String path) [0x00000] in <filename unknown>:0
at System.IO.DirectoryInfo.Create () [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.DirectoryInfo:Create ()
at System.IO.Directory.CreateDirectoriesInternal (System.String path) [0x00000] in <filename unknown>:0
at System.IO.Directory.CreateDirectory (System.String path) [0x00000] in <filename unknown>:0
at Microsoft.Win32.KeyHandler..ctor (Microsoft.Win32.RegistryKey rkey, System.String basedir, Boolean is_volatile) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at Microsoft.Win32.KeyHandler..ctor (Microsoft.Win32.RegistryKey rkey, System.String basedir, Boolean is_volatile) [0x00000] in <filename unknown>:0
at Microsoft.Win32.KeyHandler..ctor (Microsoft.Win32.RegistryKey rkey, System.String basedir) [0x00000] in <filename unknown>:0
at Microsoft.Win32.KeyHandler.Lookup (Microsoft.Win32.RegistryKey rkey, Boolean createNonExisting) [0x00000] in <filename unknown>:0
at Microsoft.Win32.UnixRegistryApi.GetSubKeyNames (Microsoft.Win32.RegistryKey rkey) [0x00000] in <filename unknown>:0
at Microsoft.Win32.RegistryKey.GetSubKeyNames () [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) Microsoft.Win32.RegistryKey:GetSubKeyNames ()
at SUA.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
Düzenleme: Kod etiketi
-
sudo chmod uog+rw /etc/mono/registrykomutundan sonra tekrar deneyebilir misiniz?
-
Aşağıdaki hatayı aldım.
chmod: `/etc/mono/registry''e erişilemedi: Böyle bir dosya ya da dizin yok
-
Komut değişir tabii ki, komutun taslağı aşağıda şekilde olacak.
mono /SUA.exe/dosyasının/bulunduğu/adres/
Komutun başına sudo ekleyerek çalıtırmayı deneyiniz.
sudo mono /SUA.exe/dosyasının/bulunduğu/adres/
-
Yardımcı olan arkadaşalar Teşekkürler
sudo mono bulunduğu adres/SUA.exe
komutuyla açıldı.
-
[member=3179]osmanozdemir03[/member] Konu başlığını düzenleyip etiketlerseniz konuyu kilitleyebiliriz.
[okay]Çözülen başlıkların etiketlenmesi hakkında. (https://forum.linuxmint.net.tr/index.php?topic=2058.0)[/okay]
-
Yardımcı olan arkadaşlara tekrar teşekkürler
Konu etiketlendi. Kilitlenebilir.